Skip to content

Commit 5e0e3f1

Browse files
committed
docs: add interactive preview [skip ci]
1 parent 4445642 commit 5e0e3f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Framework agnostic Command Line Interface utilities and helpers for PHP. Build C
1313
- Inspired by nodejs [commander](https://github.com/tj/commander.js) (thanks tj)
1414
- For PHP7 and for good
1515

16-
![Screen Preview](https://i.imgur.com/qIYg9Zn.gif "Preview from adhocore/phalcon-ext which uses this cli package")
16+
[![Screen Preview](https://i.imgur.com/qIYg9Zn.gif "Preview from adhocore/phalcon-ext which uses this cli package")](https://github.com/adhocore/phalcon-ext/tree/master/example/cli)
1717

1818
#### What's included
1919

@@ -198,6 +198,8 @@ $name = $interactor->prompt('Name', null, $nameValidator, 5);
198198
$interactor->greenBold("The name is: $name", true);
199199
```
200200

201+
![Interactive Preview](https://i.imgur.com/qYBNd29.gif "Interactive Preview")
202+
201203
### IO Components
202204

203205
The interactor is composed of `Ahc\Cli\Input\Reader` and `Ahc\Cli\Output\Writer` while the `Writer` itself is composed of `Ahc\Cli\Output\Color`. All these components can be used standalone.

0 commit comments

Comments
 (0)