Skip to content

Commit 018a610

Browse files
committed
一些更新
- 添加中文说明 - 一些问题修复 - ......
1 parent 1e87d14 commit 018a610

File tree

9 files changed

+541
-16
lines changed

9 files changed

+541
-16
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $app->run();
3535
example(in terminal):
3636

3737
```bash
38-
$ examples/app home/useArg status=2 name=john arg0 -s=test --page=23 --id=23 --id=154 -e dev -v vvv -d -rf --debug --test=false
38+
$ examples/app home/useArg status=2 name=john arg0 -s=test --page=23 --id=154 -e dev -v vvv -d -rf --debug --test=false
3939
```
4040

4141
**NOTICE:**
@@ -45,7 +45,7 @@ $ examples/app home/useArg status=2 name=john arg0 -s=test --page=23 --id=23 --i
4545

4646
get command info:
4747

48-
```
48+
```php
4949
echo $input->getScript(); // 'examples/app'
5050
echo $input->getCommand(); // 'home/useArg'
5151
```
@@ -118,8 +118,12 @@ echo $text; // 'simon'
118118

119119
basic output:
120120

121+
```php
122+
public function write(mixed $messages = '', $nl = true, $quit = false)
121123
```
122-
$output->write($message);
124+
125+
```php
126+
$output->write('hello');
123127
```
124128

125129
### formatted output

0 commit comments

Comments
 (0)