NAME

Getopt::Kingpin::Flag - command line option object

SYNOPSIS

use Getopt::Kingpin;
my $kingpin = Getopt::Kingpin->new;
my $name = $kingpin->flag('name', 'set name')->string();
$kingpin->parse;

printf "name : %s\n", $name;

DESCRIPTION

Getopt::Kingpin::Flag is used from Getopt::Kingpin.

METHOD

new()

Create Getopt::Kingpin::Flag object.

placeholder()

Set placeholder value for flag in the help.

hidden()

If set hidden(), flag does not appear in the help.

help_str()

Return help messages.

LICENSE

Copyright (C) sago35.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

sago35 <sago35@gmail.com>