https://github.com/pear/console_commandline
Full featured command line options and arguments parser.
https://github.com/pear/console_commandline
argument-parser command-line library option-parser php
Last synced: 7 months ago
JSON representation
Full featured command line options and arguments parser.
- Host: GitHub
- URL: https://github.com/pear/console_commandline
- Owner: pear
- Created: 2012-04-13T05:08:30.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-04-02T18:59:08.000Z (almost 3 years ago)
- Last Synced: 2025-04-10T00:25:32.492Z (10 months ago)
- Topics: argument-parser, command-line, library, option-parser, php
- Language: PHP
- Homepage: http://pear.php.net/package/Console_CommandLine
- Size: 200 KB
- Stars: 25
- Watchers: 17
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
*******************
Console_CommandLine
*******************
A full featured command line options and arguments parser.
``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...
============
Installation
============
PEAR
====
::
$ pear install Console_CommandLine
Composer
========
::
$ composer require pear/console_commandline
=====
Links
=====
Homepage
http://pear.php.net/package/Console_CommandLine
Bug tracker
http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Console_CommandLine
Documentation
http://pear.php.net/manual/en/package.console.console-commandline.php
Unit test status
https://travis-ci.org/pear/Console_CommandLine
.. image:: https://travis-ci.org/pear/Console_CommandLine.svg?branch=stable
:target: https://travis-ci.org/pear/Console_CommandLine
Packagist
https://packagist.org/packages/pear/console_commandline