From 94733f1f63f3a4f7542a3af93183664b83eea839 Mon Sep 17 00:00:00 2001 From: Quentin Renard Date: Tue, 23 May 2023 19:48:02 +0200 Subject: [PATCH] Fix module make commands signatures --- src/Commands/MakeCapsule.php | 8 ++++++-- src/Commands/MakeSingleton.php | 6 +++++- src/Commands/ModuleMake.php | 7 +++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/Commands/MakeCapsule.php b/src/Commands/MakeCapsule.php index af3732289..3817ac563 100644 --- a/src/Commands/MakeCapsule.php +++ b/src/Commands/MakeCapsule.php @@ -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} @@ -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. diff --git a/src/Commands/MakeSingleton.php b/src/Commands/MakeSingleton.php index 1925371ec..9fec5006c 100644 --- a/src/Commands/MakeSingleton.php +++ b/src/Commands/MakeSingleton.php @@ -18,7 +18,11 @@ class MakeSingleton extends ModuleMake {--R|hasRevisions} {--E|generatePreview} {--bladeForm} - {--all}'; + {--all} + {--force} + {--packageDirectory=} + {--packageNamespace=} + {--parentModel=}'; /** * The console command description. diff --git a/src/Commands/ModuleMake.php b/src/Commands/ModuleMake.php index 78d5781b6..3929cd300 100644 --- a/src/Commands/ModuleMake.php +++ b/src/Commands/ModuleMake.php @@ -34,8 +34,11 @@ class ModuleMake extends Command {--N|hasNesting} {--bladeForm} {--E|generatePreview} - {--parentModel=} - {--all}'; + {--all} + {--force} + {--packageDirectory=} + {--packageNamespace=} + {--parentModel=}'; /** * The console command description.