安装修改

This commit is contained in:
wuyanwen 2019-12-14 15:03:39 +08:00
parent 1ce4c7122a
commit 8479522970

View File

@ -17,7 +17,7 @@ class InstallCommand extends Command
protected function configure()
{
$this->setName('install:project')
$this->setName('catch:install')
// ->addArgument('module', Argument::REQUIRED, 'module name')
->setDescription('install project');
}
@ -143,6 +143,7 @@ class InstallCommand extends Command
*/
protected function secondStep(): void
{
if (file_exists(root_path() . '.env')) {
$connections = \config('database.connections');
[
@ -167,6 +168,7 @@ class InstallCommand extends Command
}
}
}
}
/**
* 安装第四步