Uninstall.php 479 B

123456789101112131415161718192021222324
  1. <?php
  2. declare (strict_types=1);
  3. namespace app\command\Addon;
  4. use think\console\Command;
  5. use think\console\Input;
  6. use think\console\Output;
  7. class Uninstall extends Command
  8. {
  9. protected function configure()
  10. {
  11. // 指令配置
  12. $this->setName('addon')
  13. ->setDescription('the addon uninstall command');
  14. }
  15. protected function execute(Input $input, Output $output)
  16. {
  17. // 指令输出
  18. $output->writeln('uninstall');
  19. }
  20. }