修改readme

This commit is contained in:
wuyanwen 2020-02-26 09:06:35 +08:00
parent 4c48d0c71d
commit f812033ccc
6 changed files with 94 additions and 6 deletions

View File

@ -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` 讨论以及反馈一些问题。
仅供学习

View File

@ -0,0 +1,10 @@
<?php
/**
* @filename GetModuleTrait.php
* @createdAt 2020/2/24
* @project https://github.com/yanwenwu/catch-admin
* @document http://doc.catchadmin.com
* @author JaguarJack <njphper@gmail.com>
* @copyright By CatchAdmin
* @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt
*/

View File

@ -0,0 +1,61 @@
<?php
/**
* @filename InstallCatchModuleCommand.php
* @createdAt 2020/2/24
* @project https://github.com/yanwenwu/catch-admin
* @document http://doc.catchadmin.com
* @author JaguarJack <njphper@gmail.com>
* @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()
{
}
}

View File

@ -1,16 +1,14 @@
<?php
namespace catcher\command;
namespace catcher\command\install;
use catcher\CatchAdmin;
use think\console\Command;
use think\console\Input;
use think\console\input\Argument;
use think\console\input\Option;
use think\console\Output;
use think\facade\Console;
use think\facade\Db;
class InstallCommand extends Command
class InstallProjectCommand extends Command
{
protected $databaseLink = [];

View File

@ -0,0 +1,10 @@
<?php
/**
* @filename UninstallModuleCommand.php
* @createdAt 2020/2/24
* @project https://github.com/yanwenwu/catch-admin
* @document http://doc.catchadmin.com
* @author JaguarJack <njphper@gmail.com>
* @copyright By CatchAdmin
* @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt
*/

View File

@ -0,0 +1,10 @@
<?php
/**
* @filename UpdateCatchModuleCommand.php
* @createdAt 2020/2/24
* @project https://github.com/yanwenwu/catch-admin
* @document http://doc.catchadmin.com
* @author JaguarJack <njphper@gmail.com>
* @copyright By CatchAdmin
* @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt
*/