-
-
06 Nov 2020 13:09:15 UTC
- Distribution: Getopt-Kingpin
- Module version: 0.10
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (5)
- Testers (278 / 0 / 0)
- Kwalitee
Bus factor: 1- 99.92% Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (26.01KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 4 contributors-
sago35
-
Pavel Goran
-
Syohei YOSHIDA
-
Toby Inkster
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>
Module Install Instructions
To install Getopt::Kingpin, copy and paste the appropriate command in to your terminal.
cpanm Getopt::Kingpin
perl -MCPAN -e shell install Getopt::Kingpin
For more information on module installation, please visit the detailed CPAN module installation guide.