Skip to content

Commit 64f1a7a

Browse files
committed
🔧 improve console help on create:model command
Signed-off-by: otengkwame <[email protected]>
1 parent e780d65 commit 64f1a7a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Core/core/Console/Commands/Help.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ private static function create_controller()
492492
Create controller by specifying which module it belongs with
493493
494494
{$usage}
495-
php webby create:controller <module-type:module-name> <controller-name>
495+
php webby create:controller <module-type:module-name> <controller-name> <options>
496496
497497
498498
{$examples}
@@ -522,9 +522,14 @@ private static function create_model()
522522
Create model by specifying which module it belongs with.
523523
524524
{$usage}
525-
php webby create:model <module-type:module-name> <model-name>
525+
php webby create:model <module-type:module-name> <model-name> <options>
526526
527527
{$examples}
528+
* Add models to App/Models directory *
529+
php webby create:model --name=books
530+
php webby create:model --name=books --easy --remove-model
531+
532+
* Add module models *
528533
php webby create:model web:app --name=books
529534
php webby create:model console:tasks --name=schedule
530535
php webby create:model api:v1 --name=send

0 commit comments

Comments
 (0)