| PEAR Announce 2007-12-31, 8:05 am |
| The new PEAR package Console_CommandLine-0.2.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
- fixed a bug in Option::toString() (values were not displayed for short options),
- fixed a parsing bug: if "-" is passed on the command line it should be treated as an argument,
- stop option parsing when a "--" is found as gnu getopt does,
- added a "force_posix" boolean attribute that tells the parser to be POSIX compliant, POSIX demands the following behavior: the first non-option stops option processing,
- added more regression tests.
Package Info
------------
Console_CommandLine is a full featured package for managing command-line
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...
Related Links
-------------
Package home: http://pear.php.net/package/Console_CommandLine
Changelog: http://pear.php.net/package/Console.../download/0.2.0
Download: http://download.pear.php.net/packag...dLine-0.2.0.tgz
Authors
-------
David Jean Louis (lead)
|