From 1456cd784b98bdab16910acef40cec750193ebcc Mon Sep 17 00:00:00 2001 From: itismadness Date: Thu, 29 Nov 2018 02:29:27 +0330 Subject: [PATCH] Make analyze the default command --- composer.json | 2 +- src/LogcheckerConsole.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 16da683..b5beabb 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "orpheusnet/logchecker", "description": "Logchecker for validating logs generated from supported ripping programs (like EAC and XLD)", - "version": "0.5.0", + "version": "0.7.0", "license": "Unlicense", "type": "library", "authors": [ diff --git a/src/LogcheckerConsole.php b/src/LogcheckerConsole.php index 8b2303a..7f6a7d3 100644 --- a/src/LogcheckerConsole.php +++ b/src/LogcheckerConsole.php @@ -13,8 +13,12 @@ class LogcheckerConsole extends Application { parent::__construct('Logchecker by Orpheus', $version); + $analyze_command = new Command\AnalyzeCommand(); + $this->addCommands([ - new Command\AnalyzeCommand() + $analyze_command ]); + + $this->setDefaultCommand($analyze_command->getName()); } } \ No newline at end of file