0
|
1 *******************
|
|
2 Console_CommandLine
|
|
3 *******************
|
|
4 A full featured command line options and arguments parser.
|
|
5
|
|
6 ``Console_CommandLine`` is a full featured package for managing command-line
|
|
7 options and arguments highly inspired from python ``optparse`` module, it allows
|
|
8 the developer to easily build complex command line interfaces.
|
|
9
|
|
10
|
|
11 =============
|
|
12 Main features
|
|
13 =============
|
|
14 * handles sub commands (ie. ``$ myscript.php -q subcommand -f file``),
|
|
15 * can be completely built from an XML definition file,
|
|
16 * generate ``--help`` and ``--version`` options automatically,
|
|
17 * can be completely customized,
|
|
18 * builtin support for i18n,
|
|
19 * and much more...
|
|
20
|
|
21
|
|
22 ============
|
|
23 Installation
|
|
24 ============
|
|
25
|
|
26 PEAR
|
|
27 ====
|
|
28 ::
|
|
29
|
|
30 $ pear install Console_CommandLine
|
|
31
|
|
32
|
|
33 Composer
|
|
34 ========
|
|
35 ::
|
|
36
|
|
37 $ composer require pear/console_commandline
|
|
38
|
|
39
|
|
40 =====
|
|
41 Links
|
|
42 =====
|
|
43 Homepage
|
|
44 http://pear.php.net/package/Console_CommandLine
|
|
45 Bug tracker
|
|
46 http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Console_CommandLine
|
|
47 Documentation
|
|
48 http://pear.php.net/manual/en/package.console.console-commandline.php
|
|
49 Unit test status
|
|
50 https://travis-ci.org/pear/Console_CommandLine
|
|
51
|
|
52 .. image:: https://travis-ci.org/pear/Console_CommandLine.svg?branch=stable
|
|
53 :target: https://travis-ci.org/pear/Console_CommandLine
|
|
54 Packagist
|
|
55 https://packagist.org/packages/pear/console_commandline
|