development/libraries

php-pear-Console-GetoptPlus - Command-line option parser - Console Getopt+ (Getopt Plus)

Website: http://pear.php.net/package/Console_GetoptPlus
License: The BSD License
Vendor: Koozali.org <http://www.koozali.org>
Description:
This package is (1) a PHP5 port/rewrite of Console_Getopt, (2) with added
functionalities, and (3) with a Web interface to run getopt-like shell
commands through a browser (not implemented yet).

(1) Console_getoptPlus:getopt() is a replacement for
Console_getopt:getopt().
Same for getopt2() and readPHPArgv(). It returns PEAR_Exception instead of
PEAR_Error. Error messages are the same.

(2) GetoptPlus:getoptplus uses an array-based description of the command.
It can generates the command usage/help automaticly. It can return the
parsed options and parameters in an associative array. It can be set to
accept option shortcut names.

Fully tested with phpUnit. Code coverage test close to 100%.

Usage is fully documented in docs/examples files.

Packages

php-pear-Console-GetoptPlus-1.0.0RC1-3.el7.sme.noarch [27 KiB] Changelog by Jean-Philipe Pialasse (2016-06-16):
- importing to buildsys pear packages for Horde [SME: 9600]

Listing created by Repoview-0.6.6-1.el6