File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Library for [laravel-crud-wizard-free](https://github.com/macropay-solutions/lar
1616
1717## Usage
1818
19- ``` php artisan make:resource {resourceName} ```
19+ ``` php artisan make:api- resource {resourceName} ```
2020
2121This will create a template for ** controller** , ** service** and ** model** and will print instructions on what is left to be done manually.
2222
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class MakeLaravelCrudWizard extends Command
1414 *
1515 * @var string
1616 */
17- protected $ signature = 'make:resource {resource } ' ;
17+ protected $ signature = 'make:api- resource {resourceName } ' ;
1818
1919 /**
2020 * The console command description.
@@ -36,7 +36,7 @@ public function __construct(
3636 */
3737 public function handle (): void
3838 {
39- $ resourceName = $ this ->argument ('resource ' );
39+ $ resourceName = $ this ->argument ('resourceName ' );
4040 $ this ->makeModelService ->makeCompleteModelFile ($ resourceName , $ ns = $ this ->laravel ->getNamespace ());
4141 $ this ->makeServiceService ->makeCompleteServiceFile ($ resourceName , $ ns );
4242 $ this ->makeControllerService ->makeCompleteControllerFile ($ resourceName , $ ns );
You can’t perform that action at this time.
0 commit comments