namespace think;
use think\console\Command;// 控制台 命令
use think\console\command\Help as HelpCommand; // 帮助命令
use think\console\Input;// 输入
use think\console\input\Argument as InputArgument;// 输入参数
use think\console\input\Definition as InputDefinition; // 输入定义
use think\console\input\Option as InputOption;// 输入选项
use think\console\Output;// 输出
use think\console\output\driver\Buffer;// 输出缓存
class Console
{
// 控制台类
private $name;// 私有句柄 名字
private $version;// 私有句柄 版本
/** @var Command[] */
private $commands = []; // 私有句柄 命令s 复数 仓库 存储
private $wantHelps =
[李景山php]每天TP5-20161224|thinkphp5-Console.php-1
最新推荐文章于 2024-07-12 15:51:39 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)