shorten command names
This commit is contained in:
parent
7daddaab88
commit
7aba36e7bb
@ -14,7 +14,7 @@ class BackupDatabase extends Command
|
||||
{
|
||||
use SelectDatabaseQuestion;
|
||||
|
||||
protected static $defaultName = 'app:db:backup';
|
||||
protected static $defaultName = 'db:backup';
|
||||
|
||||
public function __construct(
|
||||
private DatabaseService $db,
|
||||
|
@ -11,7 +11,7 @@ use Symfony\Component\Console\Question\Question;
|
||||
|
||||
class CreateDatabaseCommand extends Command
|
||||
{
|
||||
protected static $defaultName = 'app:db:create';
|
||||
protected static $defaultName = 'db:create';
|
||||
|
||||
public function __construct(
|
||||
private DatabaseService $db,
|
||||
|
@ -9,7 +9,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class ListDatabasesCommand extends Command
|
||||
{
|
||||
protected static $defaultName = 'app:db:list';
|
||||
protected static $defaultName = 'db:list';
|
||||
|
||||
public function __construct(
|
||||
private DatabaseService $db,
|
||||
|
@ -9,7 +9,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class ListUsersCommand extends Command
|
||||
{
|
||||
protected static $defaultName = 'app:users:list';
|
||||
protected static $defaultName = 'user:list';
|
||||
|
||||
public function __construct(
|
||||
private DatabaseService $db,
|
||||
|
@ -16,7 +16,7 @@ class RestoreDatabase extends Command
|
||||
{
|
||||
use SelectDatabaseQuestion;
|
||||
|
||||
protected static $defaultName = 'app:db:restore';
|
||||
protected static $defaultName = 'db:restore';
|
||||
|
||||
public function __construct(
|
||||
private DatabaseService $db,
|
||||
|
Loading…
Reference in New Issue
Block a user