mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
remove plugin command redundant options
This commit is contained in:
parent
a97dcccc61
commit
560505bb4a
@ -18,9 +18,6 @@ class PluginInstallCommand extends PluginCommand
|
||||
{
|
||||
$this->addArgument('address', InputArgument::REQUIRED, '插件地址');
|
||||
$this->addOption('github-token', null, InputOption::VALUE_REQUIRED, '提供的 GitHub Token');
|
||||
|
||||
// 下面是辅助用的,和 server:start 一样
|
||||
$this->addOption('config-dir', null, InputOption::VALUE_REQUIRED, '指定其他配置文件目录');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -24,9 +24,6 @@ class PluginMakeCommand extends PluginCommand
|
||||
|
||||
// 下面是 type=psr4 的选项
|
||||
$this->addOption('namespace', null, InputOption::VALUE_OPTIONAL, '插件命名空间', null);
|
||||
|
||||
// 下面是辅助用的,和 server:start 一样
|
||||
$this->addOption('config-dir', null, InputOption::VALUE_REQUIRED, '指定其他配置文件目录');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -17,9 +17,6 @@ class PluginPackCommand extends PluginCommand
|
||||
{
|
||||
$this->addArgument('name', InputArgument::REQUIRED, '要打包的插件名称');
|
||||
$this->addOption('build-dir', 'D', InputOption::VALUE_REQUIRED, '指定输出文件位置', WORKING_DIR . '/build');
|
||||
|
||||
// 下面是辅助用的,和 server:start 一样
|
||||
$this->addOption('config-dir', null, InputOption::VALUE_REQUIRED, '指定其他配置文件目录');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user