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.1

  • Added a composer.json, and this package to packagist.org.
  • Fixed GitHub issue #2: columnWrap() in Default Renderer eats up lines with only a EOL.
  • Fixed validation of XML definition files: The directory of the RNG schema was wrong.
  • Fixed test suite errors, including namespace related ones and adding Travis-CI configuration.
  • Removed PEAR2\Exception dependency - This package's exception directly inherits from the root Exception.
  • CS fixes.

Categories

Installation

$ php pyrus.phar install PEAR2_Console_CommandLine
Status: 0.2.1 alpha, released on June 22, 2014
License: MIT License
Documentation: GitHub Wiki
Issues: 2 open, 2 closed
Maintainers:

Release History

0.2.1 alpha June 22, 2014
0.2.0 alpha August 6, 2011
0.1.0 alpha May 23, 2010

Browse Files

90 files in 12 directories.

Dependencies for PEAR2_Console_CommandLine

  • PHP ≥ 5.3.0