@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | |
328 | 328 | else |
329 | 329 | $this->args($this->syntax()->parse($args)) |
330 | - ->execute(); |
|
330 | + ->execute(); |
|
331 | 331 | } |
332 | 332 | } catch (\Exception $e) { |
333 | 333 | $this->error( |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | if (! ($this instanceof HelpCommand) && ! ($this instanceof VersionCommand)) { |
379 | 379 | $helpCommand = new HelpCommand($this); |
380 | 380 | $this->command('--help', $helpCommand) |
381 | - ->command('help', $helpCommand); |
|
381 | + ->command('help', $helpCommand); |
|
382 | 382 | |
383 | 383 | $versionCommand = new VersionCommand($this); |
384 | 384 | $this->command('--version', $versionCommand); |
@@ -19,8 +19,8 @@ |
||
19 | 19 | { |
20 | 20 | $c = $this->parent(); |
21 | 21 | $this->console |
22 | - ->green()->inline($c->name()) |
|
23 | - ->white()->inline(' version ') |
|
24 | - ->yellow()->out($c->version()); |
|
22 | + ->green()->inline($c->name()) |
|
23 | + ->white()->inline(' version ') |
|
24 | + ->yellow()->out($c->version()); |
|
25 | 25 | } |
26 | 26 | } |
@@ -35,15 +35,15 @@ discard block |
||
35 | 35 | $c = $this->console(); |
36 | 36 | |
37 | 37 | $c->br() |
38 | - ->green() |
|
39 | - ->inline($command->name() . ' ') |
|
40 | - ->yellow() |
|
41 | - ->out($command->version()) |
|
42 | - ->br() |
|
43 | - ->out($command->description()) |
|
44 | - ->br() |
|
45 | - ->yellow() |
|
46 | - ->inline('Arguments: '); |
|
38 | + ->green() |
|
39 | + ->inline($command->name() . ' ') |
|
40 | + ->yellow() |
|
41 | + ->out($command->version()) |
|
42 | + ->br() |
|
43 | + ->out($command->description()) |
|
44 | + ->br() |
|
45 | + ->yellow() |
|
46 | + ->inline('Arguments: '); |
|
47 | 47 | |
48 | 48 | $args = F\s(array_keys($command->syntax()->fields())) |
49 | 49 | ->then(F\join(' ')) |
@@ -67,9 +67,9 @@ discard block |
||
67 | 67 | ->get() * 2; |
68 | 68 | foreach ($command->subCommands() as $name => $cmd) { |
69 | 69 | $c->tab() |
70 | - ->padding($padding)->char(' ') |
|
71 | - ->label("<green>{$name}</green>") |
|
72 | - ->result($cmd->description()); |
|
70 | + ->padding($padding)->char(' ') |
|
71 | + ->label("<green>{$name}</green>") |
|
72 | + ->result($cmd->description()); |
|
73 | 73 | } |
74 | 74 | } |
75 | 75 | } |
@@ -86,8 +86,8 @@ discard block |
||
86 | 86 | $c->out("(Required)"); |
87 | 87 | } else { |
88 | 88 | $c->inline("(default: ") |
89 | - ->white()->inline(json_encode($syntax->getDefault())) |
|
90 | - ->yellow()->out(" )"); |
|
89 | + ->white()->inline(json_encode($syntax->getDefault())) |
|
90 | + ->yellow()->out(" )"); |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | if ($syntax instanceof ArraySyntax) { |