options and arguments highly inspired from python optparse module, it allows the developer to easily build complex command line interfaces.

Main features: * handles sub commands (ie. $ myscript.php -q subcommand -f file), * can be completely built from an xml definition file, * generate --help and --version options automatically, * can be completely customized, * builtin support for i18n, * and much more...

Release Notes - 0.2.0

Features and changes - Implemented feature request #18582 (From pear.php.net) add possibility to require a subcommand - Implemented feature request #18583 (From pear.php.net) default values for arguments - removed the enclosing "< >" on argument names (it looks better IMO).

Bug Fixes - Fixed bug #18584 (From pear.php.net) optional arguments not shown as optional

Categories

Installation

$ php pyrus.phar install PEAR2_Console_CommandLine
Status: 0.2.0 alpha, released on August 6, 2011
License: New BSD License
Documentation: GitHub Wiki
Issues: 2 open, 2 closed
Maintainers:

Release History

0.2.0 alpha August 6, 2011
0.1.0 alpha May 23, 2010

Browse Files

93 files in 25 directories.

Dependencies for PEAR2_Console_CommandLine

  • PHP ≥ 5.3.0