[ANNOUNCEMENT] Console_CommandLine-0.2.0 (beta) Released.
| From: | PEAR Announce | Date: | Mon, 31 Dec 2007 10:58:24 +0000 |
| Subject: | [ANNOUNCEMENT] Console_CommandLine-0.2.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28374@lists.php.net to get a copy of this message | ||
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_CommandLine/download/0.2.0
Download: http://download.pear.php.net/package/Console_CommandLine-0.2.0.tgz
Authors
-------
David Jean Louis (lead)