@@ -43,15 +43,15 @@ discard block |
||
| 43 | 43 | public function __construct() |
| 44 | 44 | { |
| 45 | 45 | $this->commands([]) |
| 46 | - ->setupSubCommands() |
|
| 47 | - ->name('Unknown') |
|
| 48 | - ->version('1.0.0') |
|
| 49 | - ->description('...') |
|
| 50 | - ->descriptions([]) |
|
| 51 | - ->options([]) |
|
| 52 | - ->console(new Console) |
|
| 53 | - ->fs(new Filesystem('.')) |
|
| 54 | - ->init(); |
|
| 46 | + ->setupSubCommands() |
|
| 47 | + ->name('Unknown') |
|
| 48 | + ->version('1.0.0') |
|
| 49 | + ->description('...') |
|
| 50 | + ->descriptions([]) |
|
| 51 | + ->options([]) |
|
| 52 | + ->console(new Console) |
|
| 53 | + ->fs(new Filesystem('.')) |
|
| 54 | + ->init(); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | protected function setupSubCommands() |
| 294 | 294 | { |
| 295 | 295 | return $this->command('--help', new HelpCommand($this)) |
| 296 | - ->command('--version', new VersionCommand($this)); |
|
| 296 | + ->command('--version', new VersionCommand($this)); |
|
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | public function describe(string $name, string $description = null) |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | protected function init() |
| 8 | 8 | { |
| 9 | 9 | $this->name('Version') |
| 10 | - ->description('Shows the version'); |
|
| 10 | + ->description('Shows the version'); |
|
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | protected function execute() |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | protected function init() |
| 12 | 12 | { |
| 13 | 13 | $this->name('Help') |
| 14 | - ->description('Shows the help message'); |
|
| 14 | + ->description('Shows the help message'); |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | protected function execute() |