Skip to content

Commit

Permalink
update for 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lotfio committed Jul 21, 2020
1 parent 01facb4 commit 5be4dc5
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 85 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
- commands location creation
- fix append additional commands

# 1.0.0
# 1.0.0
- new implementation

# 1.0.1
- fix app dependency
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p align="center">
<img src="https://img.shields.io/badge/License-MIT-f1c40f" alt="License">
<img src="https://img.shields.io/badge/PHP-7.2-3498db.svg" alt="PHP version">
<img src="https://img.shields.io/badge/version-1.0.0-2c3e50.svg" alt="Version">
<img src="https://img.shields.io/badge/version-1.0.1-2c3e50.svg" alt="Version">
<img src="https://img.shields.io/badge/coverage-40%25-27ae60.svg" alt="Coverage">
<img src="https://travis-ci.org/lotfio/conso.svg?branch=master" alt="Build Status">
<img src="https://github.styleci.io/repos/165832668/shield?branch=master" alt="StyleCi">
Expand Down
7 changes: 2 additions & 5 deletions commands.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@

/**
* @author <[email protected]>
*
* @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']);
Expand Down
2 changes: 1 addition & 1 deletion conso
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @author <[email protected]>
* @package Conso PHP Console Creator
* @version 1.0.0
* @version 1.0.1
* @license MIT
* @category CLI
* @copyright 2019 Lotfio Lakehal
Expand Down
6 changes: 1 addition & 5 deletions src/Conso/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/CommandInvoker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/CommandLinker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Conso/Commands/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* @author <[email protected]>
* @version 1.0.0
* @version 1.0.1
* @license MIT
* @category CLI
* @copyright 2019 Lotfio Lakehal
Expand Down
2 changes: 1 addition & 1 deletion src/Conso/Commands/stubs/command
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author <[email protected]>
* @package Conso PHP Console Creator
* @version 1.0.0
* @version 1.0.1
* @license MIT
* @category CLI
* @copyright 2019 Lotfio Lakehal
Expand Down
6 changes: 1 addition & 5 deletions src/Conso/CommandsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/Conso.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/ConsoTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/Contracts/CommandInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
7 changes: 2 additions & 5 deletions src/Conso/Contracts/InputInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

interface InputInterface
{
/**
Expand Down
7 changes: 2 additions & 5 deletions src/Conso/Contracts/OutputInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

interface OutputInterface
{
/**
Expand Down
7 changes: 2 additions & 5 deletions src/Conso/Exceptions/InputException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

class InputException extends \Exception
{
}
7 changes: 2 additions & 5 deletions src/Conso/Exceptions/InvokerException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

class InvokerException extends \Exception
{
}
7 changes: 2 additions & 5 deletions src/Conso/Exceptions/OutputException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

class OutputException extends \Exception
{
}
6 changes: 1 addition & 5 deletions src/Conso/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down
6 changes: 1 addition & 5 deletions src/Conso/hlprs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

/**
* @author <[email protected]>
*
* @version 1.0.0
*
* @version 1.0.1
* @license MIT
*
* @category CLI
*
* @copyright 2019 Lotfio Lakehal
*/

Expand Down

0 comments on commit 5be4dc5

Please sign in to comment.