1 Star 3 Fork 25

yg178/php-console

forked from inhere/php-console 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
app 839 Bytes
一键复制 编辑 原始数据 按行查看 历史
inhere 提交于 2018-01-31 00:06 +08:00 . new: add error handle
#!/usr/bin/env php
<?php
/**
* @version {@package_version}
* @branch {@package_branch_alias_version}
* @release-date {@release_date}
*/
define('BASE_PATH', dirname(__DIR__));
require dirname(__DIR__) . '/test/boot.php';
// create app instance
$app = new \Inhere\Console\Application([
'debug' => true,
'rootPath' => dirname(__DIR__),
]);
$app->setLogo("
________ ____ ___ ___ __ _
/ ____/ / / _/ / | ____ ____ / (_)________ _/ /_(_)___ ____
/ / / / / / / /| | / __ \/ __ \/ / / ___/ __ `/ __/ / __ \/ __ \
/ /___/ /____/ / / ___ |/ /_/ / /_/ / / / /__/ /_/ / /_/ / /_/ / / / /
\____/_____/___/ /_/ |_/ .___/ .___/_/_/\___/\____/\__/_/\____/_/ /_/
/_/ /_/
", 'success');
require __DIR__ . '/commands.php';
// run
$app->run();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hwsyy/php-console.git
git@gitee.com:hwsyy/php-console.git
hwsyy
php-console
php-console
master

搜索帮助