Top Level :: Console

Package Information: Console_CommandLine

Show All Changelogs
» Version » Information
1.0.0Download

Release date: 2008-05-22 09:14 UTC
Release state: stable

Changelog:

- doc is now in peardoc format (thanks to cweiske for his precious help);
- better handling of custom instances (added an accept() method);
- added an AllTests.php file to make phpunit happy;
- added tests for xml usage;
- some cosmetic changes.

Dependencies:
  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
1.0.0RC3Download

Release date: 2008-03-12 09:19 UTC
Release state: beta

Changelog:

- fixed a strict standards notice: Console_CommandLine_Exception::build() should be static;
- changed behaviour when a StoreArray option is positioned at the end;
- now use pfm (so removed package.php and package2.xml).

Dependencies:
  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
1.0.0RC2Download

Release date: 2008-02-23 11:09 UTC
Release state: beta

Changelog:

- allow "force_posix" option to be passed to the constructor;
- fixed bug #13038 changed the signature of the parse method to allow the
developer to pass argc and argv array (instead of using $_SERVER values);
- fixed bug #13132 : "choices" not supported in xml definition (also added
"force_posix" attribute support in xml).

Dependencies:
  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
1.0.0RC1Download

Release date: 2008-01-18 17:25 UTC
Release state: beta

Changelog:

- fixed a missing check when a short option require an argument and is the last
in the argv array,
- more GNU getopt compliance: long option/argument can also be separated by a
space now and long options abbreviations are supported,
- added a "Password" action: with this action it is possible to specify a
password on the command line, and if it is missing it will be prompted to
user (and will not be echo on stdin on UNIX systems),
- added more tests.

Dependencies:
  • PHP Version: PHP 5.0.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
0.2.1Download

Release date: 2008-01-09 09:04 UTC
Release state: beta

Changelog:

fixed bug #12859: xmlschema.rng gets searched at the wrong folder

Dependencies:
  • PHP Version: PHP 5.0.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
0.2.0Download

Release date: 2007-12-31 10:58 UTC
Release state: beta

Changelog:

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

Dependencies:
  • PHP Version: PHP 5.0.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
0.1.1Download

Release date: 2007-12-21 16:13 UTC
Release state: alpha

Changelog:

* bugs
- fixed bug #12711,
- fixed wrong error triggered when argument name is invalid.

* changes
- some cosmetic changes,
- added a lot of phpt test files.

Dependencies:
  • PHP Version: PHP 5.0.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
0.1.0Download

Release date: 2007-12-17 11:08 UTC
Release state: alpha

Changelog:

Initial release.

Dependencies:
  • PHP Version: PHP 5.0.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer