|
4 | 4 | > dot-cli is a wrapper on top of [laminas-cli](https://github.com/laminas/laminas-cli) |
5 | 5 |
|
6 | 6 |  |
7 | | - |
| 7 | + |
8 | 8 |
|
9 | 9 | [](https://github.com/dotkernel/dot-cli/issues) |
10 | 10 | [](https://github.com/dotkernel/dot-cli/network) |
|
14 | 14 | [](https://github.com/dotkernel/dot-cli/actions/workflows/continuous-integration.yml) |
15 | 15 | [](https://codecov.io/gh/dotkernel/dot-cli) |
16 | 16 |
|
17 | | -DotKernel component to build console applications based on [laminas-cli](https://github.com/laminas/laminas-cli). |
| 17 | +Dotkernel component to build console applications based on [laminas-cli](https://github.com/laminas/laminas-cli). |
18 | 18 |
|
19 | 19 | ## Requirements |
20 | 20 |
|
21 | | -- PHP >= 8.2 |
22 | | -- laminas/laminas-servicemanager >= 3.11 || >= 4.0, |
23 | | -- laminas/laminas-cli >= 1.4 |
| 21 | +- **PHP**: 8.2, 8.3 or 8.4 |
| 22 | +- **laminas/laminas-servicemanager**: >= 3.11 || >= 4.0, |
| 23 | +- **laminas/laminas-cli**: >= 1.4 |
24 | 24 |
|
25 | 25 | ## Setup |
26 | 26 |
|
@@ -61,25 +61,25 @@ php ./bin/cli.php |
61 | 61 | The output should look similar to this, containing information on how to start using dot-cli: |
62 | 62 |
|
63 | 63 | ```text |
64 | | - DotKernel CLI 1.0.0 |
65 | | - |
66 | | - Usage: |
67 | | - command [options] [arguments] |
68 | | - |
69 | | - Options: |
70 | | - -h, --help Display help for the given command. When no command is given display help for the list command |
71 | | - -q, --quiet Do not output any message |
72 | | - -V, --version Display this application version |
73 | | - --ansi Force ANSI output |
74 | | - --no-ansi Disable ANSI output |
75 | | - -n, --no-interaction Do not ask any interactive question |
76 | | - -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug |
77 | | - |
78 | | - Available commands: |
79 | | - help Display help for a command |
80 | | - list List commands |
81 | | - demo |
82 | | - demo:command Demo command description. |
| 64 | +Dotkernel CLI 1.0.0 |
| 65 | +
|
| 66 | +Usage: |
| 67 | + command [options] [arguments] |
| 68 | +
|
| 69 | +Options: |
| 70 | + -h, --help Display help for the given command. When no command is given display help for the list command |
| 71 | + -q, --quiet Do not output any message |
| 72 | + -V, --version Display this application version |
| 73 | + --ansi Force ANSI output |
| 74 | + --no-ansi Disable ANSI output |
| 75 | + -n, --no-interaction Do not ask any interactive question |
| 76 | + -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug |
| 77 | +
|
| 78 | +Available commands: |
| 79 | + help Display help for a command |
| 80 | + list List commands |
| 81 | + demo |
| 82 | + demo:command Demo command description. |
83 | 83 | ``` |
84 | 84 |
|
85 | 85 | As shown in `config/autoload/cli.global.php`, dot-cli includes a demo command `demo:command` that will help you understand the basics of creating a new command. |
|
0 commit comments