blob: b46c975a79082b61f9072de4f78734999c634191 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
Console Tool
============
* [`help`](#help)
* [`list`](#list)
`help`
------
Displays help for a command
### Usage
* `help [--format FORMAT] [--raw] [--] [<command_name>]`
The help command displays help for a given command:
php app/console help list
You can also output the help in other formats by using the --format option:
php app/console help --format=xml list
To display the list of available commands, please use the list command.
### Arguments
#### `command_name`
The command name
* Is required: no
* Is array: no
* Default: `'help'`
### Options
#### `--format`
The output format (txt, xml, json, or md)
* Accept value: yes
* Is value required: yes
* Is multiple: no
* Default: `'txt'`
#### `--raw`
To output raw command help
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--help|-h`
Display this help message
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--quiet|-q`
Do not output any message
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--verbose|-v|-vv|-vvv`
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--version|-V`
Display this application version
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--ansi`
Force ANSI output
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--no-ansi`
Disable ANSI output
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--no-interaction|-n`
Do not ask any interactive question
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
`list`
------
Lists commands
### Usage
* `list [--raw] [--format FORMAT] [--] [<namespace>]`
The list command lists all commands:
php app/console list
You can also display the commands for a specific namespace:
php app/console list test
You can also output the information in other formats by using the --format option:
php app/console list --format=xml
It's also possible to get raw list of commands (useful for embedding command runner):
php app/console list --raw
### Arguments
#### `namespace`
The namespace name
* Is required: no
* Is array: no
* Default: `NULL`
### Options
#### `--raw`
To output raw command list
* Accept value: no
* Is value required: no
* Is multiple: no
* Default: `false`
#### `--format`
The output format (txt, xml, json, or md)
* Accept value: yes
* Is value required: yes
* Is multiple: no
* Default: `'txt'`
|