@@ -44,14 +44,14 @@ discard block |
||
44 | 44 | { |
45 | 45 | $this->commands = []; |
46 | 46 | $this->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(); |
|
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 | /** |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | protected function setupSubCommands() |
270 | 270 | { |
271 | 271 | return $this->command('--help', new HelpCommand($this)) |
272 | - ->command('--version', new VersionCommand($this)); |
|
272 | + ->command('--version', new VersionCommand($this)); |
|
273 | 273 | } |
274 | 274 | |
275 | 275 | public function describe(string $name, string $description = null) |
@@ -6,11 +6,8 @@ |
||
6 | 6 | use Tarsana\Command\Console\ExceptionPrinter; |
7 | 7 | use Tarsana\Command\Interfaces\Console\ConsoleInterface; |
8 | 8 | use Tarsana\Command\Interfaces\Template\TemplateLoaderInterface; |
9 | -use Tarsana\Command\SubCommand; |
|
10 | 9 | use Tarsana\Command\Template\TemplateLoader; |
11 | 10 | use Tarsana\IO\Filesystem; |
12 | -use Tarsana\IO\FilesystemInterface; |
|
13 | -use Tarsana\Syntax\Exceptions\ParseException; |
|
14 | 11 | use Tarsana\Syntax\Factory as S; |
15 | 12 | use Tarsana\Syntax\Text as T; |
16 | 13 |