Skip to content

Commit 158755a

Browse files
committed
move some base cli tool to toolkit/cli
1 parent a47bc1d commit 158755a

File tree

8 files changed

+14
-422
lines changed

8 files changed

+14
-422
lines changed

src/AbstractApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
use ErrorException;
1212
use Inhere\Console\Component\ErrorHandler;
13-
use Inhere\Console\Component\Style\Style;
1413
use Inhere\Console\Contract\ApplicationInterface;
1514
use Inhere\Console\Contract\ErrorHandlerInterface;
1615
use Inhere\Console\Contract\InputInterface;
@@ -22,6 +21,7 @@
2221
use Inhere\Console\Traits\SimpleEventTrait;
2322
use InvalidArgumentException;
2423
use Throwable;
24+
use Toolkit\Cli\Style;
2525
use Toolkit\Stdlib\Helper\PhpHelper;
2626
use function array_keys;
2727
use function array_merge;

src/Component/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Inhere\Console\Contract\ErrorHandlerInterface;
1313
use Inhere\Console\Exception\PromptException;
1414
use Throwable;
15-
use Toolkit\Cli\Highlighter;
15+
use Toolkit\Cli\Util\Highlighter;
1616
use function file_get_contents;
1717
use function get_class;
1818
use function sprintf;

src/Component/Style/Style.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
*
2929
* @package Inhere\Console\Component\Style
3030
* @link https://github.com/ventoviro/windwalker-IO
31+
* @deprecated please use Toolkit\Cli\Style instead.
3132
*
3233
* @method string info(string $message)
3334
* @method string comment(string $message)

0 commit comments

Comments
 (0)