Getopt::Kingpin::Flag - command line option object
use Getopt::Kingpin; my $kingpin = Getopt::Kingpin->new; my $name = $kingpin->flag('name', 'set name')->string(); $kingpin->parse; printf "name : %s\n", $name;
Getopt::Kingpin::Flag is used from Getopt::Kingpin.
Create Getopt::Kingpin::Flag object.
Set placeholder value for flag in the help.
If set hidden(), flag does not appear in the help.
Return help messages.
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.