commit | author | age
|
2207d6
|
1 |
Description: |
W |
2 |
Lists commands |
|
3 |
|
|
4 |
Usage: |
|
5 |
list [options] [--] [<namespace>] |
|
6 |
|
|
7 |
Arguments: |
|
8 |
namespace The namespace name |
|
9 |
|
|
10 |
Options: |
|
11 |
--raw To output raw command list |
|
12 |
--format=FORMAT The output format (txt, xml, json, or md) [default: "txt"] |
|
13 |
|
|
14 |
Help: |
|
15 |
The list command lists all commands: |
|
16 |
|
|
17 |
php app/console list |
|
18 |
|
|
19 |
You can also display the commands for a specific namespace: |
|
20 |
|
|
21 |
php app/console list test |
|
22 |
|
|
23 |
You can also output the information in other formats by using the --format option: |
|
24 |
|
|
25 |
php app/console list --format=xml |
|
26 |
|
|
27 |
It's also possible to get raw list of commands (useful for embedding command runner): |
|
28 |
|
|
29 |
php app/console list --raw |