修改readme
This commit is contained in:
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
|
||||
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 = [];
|
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
|
||||
*/
|
Reference in New Issue
Block a user