修改readme
This commit is contained in:
parent
4c48d0c71d
commit
f812033ccc
@ -49,8 +49,7 @@
|
|||||||
### Talking
|
### Talking
|
||||||
- [论坛讨论](http://bbs.catchadmin.com)
|
- [论坛讨论](http://bbs.catchadmin.com)
|
||||||
- 可以提 ISSUE,请按照 issue 模板提问
|
- 可以提 ISSUE,请按照 issue 模板提问
|
||||||
- 欢迎进入 Q 群,可以及时反馈一些问题。
|
- 欢迎进入 Q 群 `302266230` 讨论以及反馈一些问题。
|
||||||
- 
|
|
||||||
|
|
||||||
仅供学习
|
仅供学习
|
||||||
|
|
||||||
|
10
extend/catcher/command/install/GetModuleTrait.php
Normal file
10
extend/catcher/command/install/GetModuleTrait.php
Normal 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
|
||||||
|
*/
|
61
extend/catcher/command/install/InstallCatchModuleCommand.php
Normal file
61
extend/catcher/command/install/InstallCatchModuleCommand.php
Normal 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()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,16 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace catcher\command;
|
namespace catcher\command\install;
|
||||||
|
|
||||||
use catcher\CatchAdmin;
|
use catcher\CatchAdmin;
|
||||||
use think\console\Command;
|
use think\console\Command;
|
||||||
use think\console\Input;
|
use think\console\Input;
|
||||||
use think\console\input\Argument;
|
|
||||||
use think\console\input\Option;
|
use think\console\input\Option;
|
||||||
use think\console\Output;
|
use think\console\Output;
|
||||||
use think\facade\Console;
|
use think\facade\Console;
|
||||||
use think\facade\Db;
|
|
||||||
|
|
||||||
class InstallCommand extends Command
|
class InstallProjectCommand extends Command
|
||||||
{
|
{
|
||||||
|
|
||||||
protected $databaseLink = [];
|
protected $databaseLink = [];
|
10
extend/catcher/command/install/UninstallModuleCommand.php
Normal file
10
extend/catcher/command/install/UninstallModuleCommand.php
Normal 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
|
||||||
|
*/
|
10
extend/catcher/command/install/UpdateCatchModuleCommand.php
Normal file
10
extend/catcher/command/install/UpdateCatchModuleCommand.php
Normal 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
|
||||||
|
*/
|
Loading…
x
Reference in New Issue
Block a user