@@ -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 setupSubCommands() |
@@ -46,16 +46,16 @@ discard block |
||
46 | 46 | public function __construct() |
47 | 47 | { |
48 | 48 | $this->commands([]) |
49 | - ->name('Unknown') |
|
50 | - ->version('1.0.0') |
|
51 | - ->description('...') |
|
52 | - ->descriptions([]) |
|
53 | - ->options([]) |
|
54 | - ->console(new Console) |
|
55 | - ->fs(new Filesystem('.')) |
|
56 | - ->configPaths([]) |
|
57 | - ->setupSubCommands() |
|
58 | - ->init(); |
|
49 | + ->name('Unknown') |
|
50 | + ->version('1.0.0') |
|
51 | + ->description('...') |
|
52 | + ->descriptions([]) |
|
53 | + ->options([]) |
|
54 | + ->console(new Console) |
|
55 | + ->fs(new Filesystem('.')) |
|
56 | + ->configPaths([]) |
|
57 | + ->setupSubCommands() |
|
58 | + ->init(); |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
@@ -319,8 +319,8 @@ discard block |
||
319 | 319 | protected function setupSubCommands() |
320 | 320 | { |
321 | 321 | return $this->command('--help', new HelpCommand($this)) |
322 | - ->command('--version', new VersionCommand($this)) |
|
323 | - ->command('-i', new InteractiveCommand($this)); |
|
322 | + ->command('--version', new VersionCommand($this)) |
|
323 | + ->command('-i', new InteractiveCommand($this)); |
|
324 | 324 | } |
325 | 325 | |
326 | 326 | public function describe(string $name, string $description = null) |
@@ -23,10 +23,10 @@ |
||
23 | 23 | { |
24 | 24 | parent::__construct(); |
25 | 25 | $this->parent($parent) |
26 | - ->console($parent->console()) |
|
27 | - ->fs($parent->fs) |
|
28 | - ->templatesLoader($parent->templatesLoader); |
|
29 | - $this->config = $parent->config; |
|
26 | + ->console($parent->console()) |
|
27 | + ->fs($parent->fs) |
|
28 | + ->templatesLoader($parent->templatesLoader); |
|
29 | + $this->config = $parent->config; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |