https://github.com/g4code/commando
PHP command-line interface
https://github.com/g4code/commando
Last synced: 3 months ago
JSON representation
PHP command-line interface
- Host: GitHub
- URL: https://github.com/g4code/commando
- Owner: g4code
- License: mit
- Created: 2013-10-24T19:49:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T06:19:05.000Z (almost 11 years ago)
- Last Synced: 2026-01-03T22:42:17.860Z (6 months ago)
- Language: PHP
- Size: 210 KB
- Stars: 4
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
commando
======
> commando - [php](http://php.net) library
## Install
```sh
composer require g4code/commando
```
[Composer](http://getcomposer.org/)
[g4code/commando](https://packagist.org/packages/g4code/commando)
## Usage
```php
version('x.x.x');
$cli->option()->short("p")
->long("param")
->desc('param name description');
echo $cli->value('param'); // outputs param option value
```
## Development
### Install dependencies
$ make install
### Run tests
$ make test
## License
(The MIT License)
see LICENSE file for details...