File tree Expand file tree Collapse file tree 5 files changed +25
-0
lines changed
Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ class DeployCommand extends Command
2727 */
2828 protected static $ defaultName = 'deploy ' ;
2929
30+ public static function getDefaultName (): ?string
31+ {
32+ return 'deploy ' ;
33+ }
34+
3035 public function __construct (FactoryInterface $ factory )
3136 {
3237 parent ::__construct ();
Original file line number Diff line number Diff line change @@ -35,6 +35,11 @@ class DescribeCommand extends Command
3535 */
3636 protected static $ defaultName = 'describe ' ;
3737
38+ public static function getDefaultName (): ?string
39+ {
40+ return 'describe ' ;
41+ }
42+
3843 public function __construct (FactoryInterface $ factory )
3944 {
4045 parent ::__construct ();
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ public function __construct(FactoryInterface $factory)
3333 $ this ->factory = $ factory ;
3434 }
3535
36+ public static function getDefaultName (): ?string
37+ {
38+ return 'rollback ' ;
39+ }
40+
3641 protected function configure (): void
3742 {
3843 $ this ->setDescription ('Rollback current to previous release and remove current folder ' )
Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ public function __construct(FactoryInterface $factory)
3232 $ this ->factory = $ factory ;
3333 }
3434
35+ public static function getDefaultName (): ?string
36+ {
37+ return 'show ' ;
38+ }
39+
3540 protected function configure (): void
3641 {
3742 $ this ->setDescription ('Shows all the deployments depending on the directory configuration ' )
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ public function __construct(FactoryInterface $factory)
3333 $ this ->factory = $ factory ;
3434 }
3535
36+ public static function getDefaultName (): ?string
37+ {
38+ return 'simulate ' ;
39+ }
40+
3641 protected function configure (): void
3742 {
3843 $ this ->setDescription ('Simulates the deployment for the given name ' )
You can’t perform that action at this time.
0 commit comments