Getopt::Kingpin::Flags - command line option object
use Getopt::Kingpin::Flags; my $flags = Getopt::Kingpin::Flags->new; $flags->add( name => 'help', description => 'Show context-sensitive help.', )->bool();
Getopt::Kingpin::Flags は、Getopt::Kingpinから使用するモジュールです。 Flagを集合として扱います。
Create Getopt::Kingpin::Flags object.
$name と $description をもつGetopt::Kingpin::Flagを生成し、管理します。
$name で指定したGetopt::Kingpin::Flagを取り出します。
定義されている$nameの一覧の出力します。 add()した順で出力されます。
定義されているGetopt::Kingpin::Flagをすべて出力します。 add()した順で出力されます。
short_name、name、descriptionの文字列長を返します。
ヘルプを表示します。
Copyright (C) sago35.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
sago35 <sago35@gmail.com>
To install Getopt::Kingpin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Getopt::Kingpin
CPAN shell
perl -MCPAN -e shell install Getopt::Kingpin
For more information on module installation, please visit the detailed CPAN module installation guide.