remove plugin command redundant options

This commit is contained in:
crazywhalecc 2023-03-11 19:51:20 +08:00 committed by Jerry
parent a97dcccc61
commit 560505bb4a
3 changed files with 0 additions and 9 deletions

View File

@ -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, '指定其他配置文件目录');
}
/**

View File

@ -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, '指定其他配置文件目录');
}
/**

View File

@ -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, '指定其他配置文件目录');
}
/**