统一命令格式

This commit is contained in:
yanwenwu 2020-01-23 16:55:51 +08:00
parent cb90f5f6d3
commit 055f3d5aa9

View File

@ -16,8 +16,8 @@ class ModelGeneratorCommand extends Command
protected function configure()
{
$this->setName('create:model')
->addArgument('model', Argument::REQUIRED, 'model name')
->addArgument('module', Argument::REQUIRED, 'module name')
->addArgument('model', Argument::REQUIRED, 'model name')
->setDescription('create model');
}