Skip to content

Commit

Permalink
move some base cli tool to toolkit/cli
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jun 15, 2020
1 parent a47bc1d commit 158755a
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 422 deletions.
2 changes: 1 addition & 1 deletion src/AbstractApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

use ErrorException;
use Inhere\Console\Component\ErrorHandler;
use Inhere\Console\Component\Style\Style;
use Inhere\Console\Contract\ApplicationInterface;
use Inhere\Console\Contract\ErrorHandlerInterface;
use Inhere\Console\Contract\InputInterface;
Expand All @@ -22,6 +21,7 @@
use Inhere\Console\Traits\SimpleEventTrait;
use InvalidArgumentException;
use Throwable;
use Toolkit\Cli\Style;
use Toolkit\Stdlib\Helper\PhpHelper;
use function array_keys;
use function array_merge;
Expand Down
2 changes: 1 addition & 1 deletion src/Component/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Inhere\Console\Contract\ErrorHandlerInterface;
use Inhere\Console\Exception\PromptException;
use Throwable;
use Toolkit\Cli\Highlighter;
use Toolkit\Cli\Util\Highlighter;
use function file_get_contents;
use function get_class;
use function sprintf;
Expand Down
1 change: 1 addition & 0 deletions src/Component/Style/Style.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @package Inhere\Console\Component\Style
* @link https://github.com/ventoviro/windwalker-IO
* @deprecated please use Toolkit\Cli\Style instead.
*
* @method string info(string $message)
* @method string comment(string $message)
Expand Down
Loading

0 comments on commit 158755a

Please sign in to comment.