optargs - print an OptArgs program command summary
0.1.18 (2015-11-27)
optargs CLASS [NAME]
optargs is a utility for developers writing Perl scripts with OptArgs. It prints out the synopsis for every sub-command in a program. The results are ordered according to the setting of the $OptArgs::SORT variable as set by CLASS.
$OptArgs::SORT
Note that optargs does a use lib 'lib' to allow your in-development class to be loaded in preference to installed versions.
use lib 'lib'
OptArgs-based module to map. Required.
Name of the command. If not specified then the last token of CLASS will be used as the command name.
Number of spaces to indent sub-commands. Defaults to 4.
Character to use for indent spaces. Defaults to a single space character ' '.
Print out the entire usage message instead of just the synopsis.
OptArgs
Mark Lawrence <nomad@null.net>
Copyright 2012-2014 Mark Lawrence <nomad@null.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
To install OptArgs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OptArgs
CPAN shell
perl -MCPAN -e shell install OptArgs
For more information on module installation, please visit the detailed CPAN module installation guide.