diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c497e4..d9a86c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,4 +4,8 @@ - commands location creation - fix append additional commands -# 1.0.0 \ No newline at end of file +# 1.0.0 + - new implementation + +# 1.0.1 + - fix app dependency \ No newline at end of file diff --git a/README.md b/README.md index c8d1280..50294fd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

License PHP version - Version + Version Coverage Build Status StyleCi diff --git a/commands.php b/commands.php index ed3a542..0dad3e1 100644 --- a/commands.php +++ b/commands.php @@ -2,15 +2,12 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ + $conso->command('--version', function ($inp, $out, $app) { $out->writeLn("\n ".$app->getName().' version '.$app->getVersion()."\n", 'yellow'); })->alias(['-v']); diff --git a/conso b/conso index e603715..64c7ab2 100755 --- a/conso +++ b/conso @@ -5,7 +5,7 @@ * * @author * @package Conso PHP Console Creator - * @version 1.0.0 + * @version 1.0.1 * @license MIT * @category CLI * @copyright 2019 Lotfio Lakehal diff --git a/src/Conso/Command.php b/src/Conso/Command.php index 9b0914e..7c05b96 100644 --- a/src/Conso/Command.php +++ b/src/Conso/Command.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/CommandInvoker.php b/src/Conso/CommandInvoker.php index 7c4bb8e..377b0d3 100644 --- a/src/Conso/CommandInvoker.php +++ b/src/Conso/CommandInvoker.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/CommandLinker.php b/src/Conso/CommandLinker.php index 2c5acd7..2618060 100644 --- a/src/Conso/CommandLinker.php +++ b/src/Conso/CommandLinker.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/Commands/Command.php b/src/Conso/Commands/Command.php index fba2d68..764678b 100644 --- a/src/Conso/Commands/Command.php +++ b/src/Conso/Commands/Command.php @@ -4,7 +4,7 @@ /** * @author - * @version 1.0.0 + * @version 1.0.1 * @license MIT * @category CLI * @copyright 2019 Lotfio Lakehal diff --git a/src/Conso/Commands/stubs/command b/src/Conso/Commands/stubs/command index b184298..2fe812f 100644 --- a/src/Conso/Commands/stubs/command +++ b/src/Conso/Commands/stubs/command @@ -4,7 +4,7 @@ * * @author * @package Conso PHP Console Creator - * @version 1.0.0 + * @version 1.0.1 * @license MIT * @category CLI * @copyright 2019 Lotfio Lakehal diff --git a/src/Conso/CommandsTable.php b/src/Conso/CommandsTable.php index 5fcff6b..e7ca425 100644 --- a/src/Conso/CommandsTable.php +++ b/src/Conso/CommandsTable.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/Conso.php b/src/Conso/Conso.php index 9df1e22..2b6f873 100644 --- a/src/Conso/Conso.php +++ b/src/Conso/Conso.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/ConsoTrait.php b/src/Conso/ConsoTrait.php index 3fa31da..1ed77c3 100644 --- a/src/Conso/ConsoTrait.php +++ b/src/Conso/ConsoTrait.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/Contracts/CommandInterface.php b/src/Conso/Contracts/CommandInterface.php index 31f3cbc..198904f 100644 --- a/src/Conso/Contracts/CommandInterface.php +++ b/src/Conso/Contracts/CommandInterface.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/Contracts/InputInterface.php b/src/Conso/Contracts/InputInterface.php index 376a341..04b0c1a 100644 --- a/src/Conso/Contracts/InputInterface.php +++ b/src/Conso/Contracts/InputInterface.php @@ -4,15 +4,12 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ + interface InputInterface { /** diff --git a/src/Conso/Contracts/OutputInterface.php b/src/Conso/Contracts/OutputInterface.php index 61a1980..7fdc9ec 100644 --- a/src/Conso/Contracts/OutputInterface.php +++ b/src/Conso/Contracts/OutputInterface.php @@ -4,15 +4,12 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ + interface OutputInterface { /** diff --git a/src/Conso/Exceptions/InputException.php b/src/Conso/Exceptions/InputException.php index e73ad84..4713127 100644 --- a/src/Conso/Exceptions/InputException.php +++ b/src/Conso/Exceptions/InputException.php @@ -4,15 +4,12 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ + class InputException extends \Exception { } diff --git a/src/Conso/Exceptions/InvokerException.php b/src/Conso/Exceptions/InvokerException.php index e16bd77..e0e5e78 100644 --- a/src/Conso/Exceptions/InvokerException.php +++ b/src/Conso/Exceptions/InvokerException.php @@ -4,15 +4,12 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ + class InvokerException extends \Exception { } diff --git a/src/Conso/Exceptions/OutputException.php b/src/Conso/Exceptions/OutputException.php index 1614add..85981d4 100644 --- a/src/Conso/Exceptions/OutputException.php +++ b/src/Conso/Exceptions/OutputException.php @@ -4,15 +4,12 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ + class OutputException extends \Exception { } diff --git a/src/Conso/Input.php b/src/Conso/Input.php index 5a7d3a6..d05d049 100644 --- a/src/Conso/Input.php +++ b/src/Conso/Input.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/Output.php b/src/Conso/Output.php index 81a9f58..9d40a12 100644 --- a/src/Conso/Output.php +++ b/src/Conso/Output.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */ diff --git a/src/Conso/hlprs.php b/src/Conso/hlprs.php index ee7ebde..9b7d799 100644 --- a/src/Conso/hlprs.php +++ b/src/Conso/hlprs.php @@ -4,13 +4,9 @@ /** * @author - * - * @version 1.0.0 - * + * @version 1.0.1 * @license MIT - * * @category CLI - * * @copyright 2019 Lotfio Lakehal */