统一命令格式
This commit is contained in:
parent
cb90f5f6d3
commit
055f3d5aa9
@ -16,8 +16,8 @@ class ModelGeneratorCommand extends Command
|
|||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this->setName('create:model')
|
$this->setName('create:model')
|
||||||
->addArgument('model', Argument::REQUIRED, 'model name')
|
|
||||||
->addArgument('module', Argument::REQUIRED, 'module name')
|
->addArgument('module', Argument::REQUIRED, 'module name')
|
||||||
|
->addArgument('model', Argument::REQUIRED, 'model name')
|
||||||
->setDescription('create model');
|
->setDescription('create model');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user