weew/console-app
Composer 安装命令:
composer require weew/console-app
包简介
Integrates weew/app with weew/console
README 文档
README
Table of contents
Installation
composer require weew/console-app
Introduction
This is a very minimalistic wrapper for a console application. It is basically an integration of these two packages weew/app and weew/console.
Usage
Just create a new instance and your ready to go.
$app = new ConsoleApp(); // returns IConsole $app->getConsole(); // start app $app->start(); // run console $app->parseArgv($argv);
Be aware that the --env switch is only available if debug mode has been enabled.
统计信息
- 总下载量: 89
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-20