NAME
Getopt::Kingpin::Commands - command line option object
SYNOPSIS
use Getopt::Kingpin::Commands;
my $commands = Getopt::Kingpin::Commands->new;
$commands->add(
name => 'post',
description => 'post image',
);
DESCRIPTION
Getopt::Kingpin::Commands is used from Getopt::Kingpin.
METHOD
new()
Create Getopt::Kingpin::Commands object.
add(name => $name, description => $description)
Add Getopt::Kingpin::Command instance which has $name and $description.
count()
Get count of Getopt::Kingpin::Command objects.
get($name)
Get Getopt::Kingpin::Arg instance by $name.
get_all()
Get all Getopt::Kingpin::Commands instances.
help()
Return help message.
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>