We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6722e8 commit ddcbfd4Copy full SHA for ddcbfd4
README.md
@@ -9,13 +9,30 @@
9
10
11
## Installation
12
+
13
+### As standalone binary
14
15
+```sh
16
+composer global require adhocore/cli-syntax
17
18
+# then you will be able to run it as
19
+clish -h
20
+clish -f file.php
21
+echo '<?php date("Ymd");' | clish
22
+cat file.php | clish
23
24
+# export png
25
+clish -f file.php -o file.png
26
+```
27
28
+### As project dependency
29
```bash
30
composer require adhocore/cli-syntax
31
```
32
33
## Usage
34
-You can either highlight PHP code in CLI or export to png image.
35
+You can either highlight PHP code in terminal output or export to png image.
36
37
### Highlight
38
0 commit comments