newclass/impero
Composer 安装命令:
composer require newclass/impero
包简介
The PHP command manager.
README 文档
README
What is Impero?
Impero is command line manager.
Installation
The best way to install is to use the composer by command:
composer require newclass/impero
composer install
Use example
use Impero\CommandExecutor;
$executor = new CommandExecutor();
$executor->register(new MyCommand()); //class implemented Impero\CommandInterface
$executor->register(new MySecondCommand()); //class implemented Impero\CommandInterface
$executor->execute($argv);
Run test
php ./vendor/bin/phpunit
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-26