Browse Source

Add description of command options

tags/1.2.4^0 1.2.4
Nafies Luthfi 7 years ago
parent
commit
ed8645093f
  1. 5
      src/CrudApiMake.php
  2. 6
      src/CrudMake.php
  3. 6
      src/CrudSimpleMake.php

5
src/CrudApiMake.php

@ -9,7 +9,10 @@ class CrudApiMake extends GeneratorCommand
*
* @var string
*/
protected $signature = 'make:crud-api {name} {--p|parent=} {--t|tests-only} {--f|formfield}';
protected $signature = 'make:crud-api {name : The model name}
{--p|parent= : The generated API controller parent directory}
{--t|tests-only : Generate API CRUD testcases only}
{--f|formfield : Generate CRUD with FormField facades}';
/**
* The console command description.

6
src/CrudMake.php

@ -9,7 +9,11 @@ class CrudMake extends GeneratorCommand
*
* @var string
*/
protected $signature = 'make:crud {name} {--p|parent=} {--t|tests-only} {--f|formfield} {--bs3}';
protected $signature = 'make:crud {name : The model name}
{--p|parent= : The generated controller parent directory}
{--t|tests-only : Generate CRUD testcases only}
{--f|formfield : Generate CRUD with FormField facades}
{--bs3 : Generate CRUD with Bootstrap 3 views}';
/**
* The console command description.

6
src/CrudSimpleMake.php

@ -9,7 +9,11 @@ class CrudSimpleMake extends GeneratorCommand
*
* @var string
*/
protected $signature = 'make:crud-simple {name} {--p|parent=} {--t|tests-only} {--f|formfield} {--bs3}';
protected $signature = 'make:crud-simple {name : The model name}
{--p|parent= : The generated controller parent directory}
{--t|tests-only : Generate CRUD testcases only}
{--f|formfield : Generate CRUD with FormField facades}
{--bs3 : Generate CRUD with Bootstrap 3 views}';
/**
* The console command description.

Loading…
Cancel
Save