test_lgq/niucloud/app/command/Addon/Uninstall.php

25 lines
479 B
PHP
Raw Permalink Normal View History

2024-01-24 17:36:08 +08:00
<?php
declare (strict_types=1);
namespace app\command\Addon;
use think\console\Command;
use think\console\Input;
use think\console\Output;
class Uninstall extends Command
{
protected function configure()
{
// 指令配置
$this->setName('addon')
->setDescription('the addon uninstall command');
}
protected function execute(Input $input, Output $output)
{
// 指令输出
$output->writeln('uninstall');
}
}