diff --git a/README.md b/README.md index c9aa2af..c9b384e 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,7 @@ ### Talking - [论坛讨论](http://bbs.catchadmin.com) - 可以提 ISSUE,请按照 issue 模板提问 -- 欢迎进入 Q 群,可以及时反馈一些问题。 -- ![输入图片说明](https://images.gitee.com/uploads/images/2018/1219/110300_0257b6c0_810218.jpeg "微信图片_20181219105915.jpg") +- 欢迎进入 Q 群 `302266230` 讨论以及反馈一些问题。 仅供学习 diff --git a/extend/catcher/command/install/GetModuleTrait.php b/extend/catcher/command/install/GetModuleTrait.php new file mode 100644 index 0000000..98dc31a --- /dev/null +++ b/extend/catcher/command/install/GetModuleTrait.php @@ -0,0 +1,10 @@ + + * @copyright By CatchAdmin + * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt + */ diff --git a/extend/catcher/command/install/InstallCatchModuleCommand.php b/extend/catcher/command/install/InstallCatchModuleCommand.php new file mode 100644 index 0000000..60b3d04 --- /dev/null +++ b/extend/catcher/command/install/InstallCatchModuleCommand.php @@ -0,0 +1,61 @@ + + * @copyright By CatchAdmin + * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt + */ +namespace catcher\command; + +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('modue', '-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() + { + + } + +} diff --git a/extend/catcher/command/InstallCommand.php b/extend/catcher/command/install/InstallProjectCommand.php similarity index 98% rename from extend/catcher/command/InstallCommand.php rename to extend/catcher/command/install/InstallProjectCommand.php index d6bfdca..625e956 100644 --- a/extend/catcher/command/InstallCommand.php +++ b/extend/catcher/command/install/InstallProjectCommand.php @@ -1,16 +1,14 @@ + * @copyright By CatchAdmin + * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt + */ diff --git a/extend/catcher/command/install/UpdateCatchModuleCommand.php b/extend/catcher/command/install/UpdateCatchModuleCommand.php new file mode 100644 index 0000000..a9c95d8 --- /dev/null +++ b/extend/catcher/command/install/UpdateCatchModuleCommand.php @@ -0,0 +1,10 @@ + + * @copyright By CatchAdmin + * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt + */