mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正 console build 指令的config参数默认值
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace think\console\command;
|
namespace think\console\command;
|
||||||
|
|
||||||
|
|
||||||
use think\console\Input;
|
use think\console\Input;
|
||||||
use think\console\input\Option;
|
use think\console\input\Option;
|
||||||
use think\console\Output;
|
use think\console\Output;
|
||||||
@@ -25,7 +24,7 @@ class Build extends Command
|
|||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this->setName('build')
|
$this->setName('build')
|
||||||
->setDefinition([new Option('config', null, Option::VALUE_OPTIONAL, "build.php path")])
|
->setDefinition([new Option('config', null, Option::VALUE_OPTIONAL, "build.php path", APP_PATH . 'build.php')])
|
||||||
->setDescription('Build Application Dirs');
|
->setDescription('Build Application Dirs');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -45,4 +44,4 @@ class Build extends Command
|
|||||||
$output->writeln("Successed");
|
$output->writeln("Successed");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user