Skip to content

Commit

Permalink
Fix module make commands signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed May 23, 2023
1 parent eb1d597 commit 94733f1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
8 changes: 6 additions & 2 deletions src/Commands/MakeCapsule.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MakeCapsule extends ModuleMake
*
* @var string
*/
protected $signature = 'twill:make:capsule {moduleName} {--singleton} {--packageDirectory=} {--packageNamespace=}
protected $signature = 'twill:make:capsule {moduleName}
{--B|hasBlocks}
{--T|hasTranslation}
{--S|hasSlug}
Expand All @@ -19,9 +19,13 @@ class MakeCapsule extends ModuleMake
{--R|hasRevisions}
{--N|hasNesting}
{--E|generatePreview}
{--singleton}
{--bladeForm}
{--all}
{--force}';
{--force}
{--packageDirectory=}
{--packageNamespace=}
{--parentModel=}';

/**
* The console command description.
Expand Down
6 changes: 5 additions & 1 deletion src/Commands/MakeSingleton.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ class MakeSingleton extends ModuleMake
{--R|hasRevisions}
{--E|generatePreview}
{--bladeForm}
{--all}';
{--all}
{--force}
{--packageDirectory=}
{--packageNamespace=}
{--parentModel=}';

/**
* The console command description.
Expand Down
7 changes: 5 additions & 2 deletions src/Commands/ModuleMake.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ class ModuleMake extends Command
{--N|hasNesting}
{--bladeForm}
{--E|generatePreview}
{--parentModel=}
{--all}';
{--all}
{--force}
{--packageDirectory=}
{--packageNamespace=}
{--parentModel=}';

/**
* The console command description.
Expand Down

0 comments on commit 94733f1

Please sign in to comment.