Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename make commands #41

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Console/Commands/CrudBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CrudBackpackCommand extends Command
*
* @var string
*/
protected $signature = 'backpack:crud {name}';
protected $signature = 'backpack:make:crud {name}';

/**
* The console command description.
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/CrudControllerBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class CrudControllerBackpackCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'backpack:crud-controller';
protected $name = 'backpack:make:controller';

/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backpack:crud-controller {name}';
protected $signature = 'backpack:make:controller {name}';

/**
* The console command description.
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/CrudModelBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ class CrudModelBackpackCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'backpack:crud-model';
protected $name = 'backpack:make:model';

/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backpack:crud-model {name}';
protected $signature = 'backpack:make:crud-model {name}';

/**
* The console command description.
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/CrudRequestBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class CrudRequestBackpackCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'backpack:crud-request';
protected $name = 'backpack:make:request';

/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backpack:crud-request {name}';
protected $signature = 'backpack:make:crud-request {name}';

/**
* The console command description.
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/ModelBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ class ModelBackpackCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'backpack:model';
protected $name = 'backpack:make:model';

/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backpack:model {name} {--softdelete}';
protected $signature = 'backpack:make:model {name} {--softdelete}';

/**
* The console command description.
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/RequestBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class RequestBackpackCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'backpack:request';
protected $name = 'backpack:make:request';

/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backpack:request {name}';
protected $signature = 'backpack:make:request {name}';

/**
* The console command description.
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/ViewBackpackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class ViewBackpackCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'backpack:view';
protected $name = 'backpack:make:view';

/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backpack:view {name} {--plain}';
protected $signature = 'backpack:make:view {name} {--plain}';

/**
* The console command description.
Expand Down