File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Provide some useful utils for the php CLI.
19
19
composer require toolkit/cli-utils
20
20
```
21
21
22
- ## Parse cli arguments and options
22
+ ## Parse CLI arguments and options
23
23
24
24
``` php
25
25
use Toolkit\Cli\Flags;
@@ -44,7 +44,7 @@ $app = new App([
44
44
]);
45
45
```
46
46
47
- ### register commands
47
+ ### Register commands
48
48
49
49
Use closure:
50
50
@@ -146,7 +146,7 @@ echo Color::render('hello world', 'success');
146
146
147
147
![ colors] ( example/terminal-color.png )
148
148
149
- ## Cli downloader
149
+ ## CLI downloader
150
150
151
151
``` php
152
152
use Toolkit\Cli\Download;
@@ -158,7 +158,7 @@ $down = Download::file($url, '');
158
158
$down->start();
159
159
```
160
160
161
- ### progress bar output:
161
+ ### Progress bar output:
162
162
163
163
``` text
164
164
Connected...
@@ -170,7 +170,7 @@ Mime-type: application/octet-stream
170
170
[========================================> ] 40% (3076/7590 kb)
171
171
```
172
172
173
- ### progress text output:
173
+ ### Progress text output:
174
174
175
175
``` text
176
176
Download: http://no2.php.net/distributions/php-7.2.5.tar.bz2
You can’t perform that action at this time.
0 commit comments