mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 13:31:38 +08:00
改进make指令
This commit is contained in:
@@ -26,7 +26,7 @@ class Model extends \think\console\command\Make
|
||||
$this
|
||||
->setName('make:model')
|
||||
->setDescription('Create a new model class')
|
||||
->addArgument('namespace', Argument::OPTIONAL, null)
|
||||
->addArgument('namespace', Argument::REQUIRED)
|
||||
->addOption('module', 'm', Option::VALUE_OPTIONAL, 'Module Name', null)
|
||||
->addOption('extend', 'e', Option::VALUE_OPTIONAL, 'Base on Model class', null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user