refactor plugin command and add plugin:install command

This commit is contained in:
crazywhalecc
2023-01-18 00:56:12 +08:00
committed by Jerry
parent 2658302fec
commit 2e048515fb
8 changed files with 170 additions and 55 deletions

View File

@@ -26,7 +26,7 @@ class LoadConfiguration
private function getConfigDir(array $config): string
{
$config_dir = $config['config-dir'];
$config_dir = $config['config-dir'] ?? null;
// 默认配置文件目录
$find_dir = [
WORKING_DIR . '/config',