File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Php Version] ( https://img.shields.io/badge/php-%3E=7.1.0-brightgreen.svg?maxAge=2592000 )] ( https://packagist.org/packages/toolkit/cli-utils )
5
5
[ ![ Latest Stable Version] ( http://img.shields.io/packagist/v/toolkit/cli-utils.svg )] ( https://packagist.org/packages/toolkit/cli-utils )
6
6
7
- Some useful utils for the php CLI env.
7
+ Provide some useful utils for the php CLI.
8
+
9
+ - Parse CLI arguments and options
10
+ - Console color render
11
+ - CLI env information helper
12
+ - CLI code highlighter
13
+ - Build simple cli application
8
14
9
15
## Install
10
16
@@ -47,6 +53,8 @@ Color::println('hello world', 'info');
47
53
Color::println('hello world', 'error');
48
54
Color::println('hello world', 'warning');
49
55
Color::println('hello world', 'success');
56
+
57
+ echo Color::render('hello world', 'success');
50
58
```
51
59
52
60
![ colors] ( ./example/all-color-style.jpg )
You can’t perform that action at this time.
0 commit comments