* @copyright By CatchAdmin * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt */ namespace catcher\command\install; use think\console\Command; use think\console\Input; use think\console\input\Argument; use think\console\input\Option; use think\console\Output; class InstallCatchModuleCommand extends Command { protected function configure() { $this->setName('install:module') ->addArgument('module', Argument::REQUIRED, 'module name') ->addOption('mode', '-r',Option::VALUE_NONE, 'reinstall back') ->setDescription('install catch module'); } protected function execute(Input $input, Output $output) { } protected function searchModule() { } protected function getModule() { } protected function download() { } protected function install() { } protected function update() { } }