|
2 | 2 | <symfony>
|
3 | 3 | <commands>
|
4 | 4 | <command id="help" name="help">
|
5 |
| - <usage>help [--xml] [--format="..."] [--raw] [command_name]</usage> |
6 |
| - <description>Displays help for a command</description> |
7 |
| - <help>The <info>help</info> command displays help for a given command: |
| 5 | + <usage>help [--xml] [--format="..."] [--raw] [command_name]</usage> |
| 6 | + <description>Displays help for a command</description> |
| 7 | + <help>The <info>help</info> command displays help for a given command: |
8 | 8 |
|
9 | 9 | <info>php app/console help list</info>
|
10 | 10 |
|
|
13 | 13 | <info>php app/console help --format=xml list</info>
|
14 | 14 |
|
15 | 15 | To display the list of available commands, please use the <info>list</info> command.</help>
|
16 |
| - <aliases /> |
17 |
| - <arguments> |
18 |
| - <argument name="command_name" is_required="0" is_array="0"> |
19 |
| - <description>The command name</description> |
20 |
| - <defaults> |
21 |
| - <default>help</default> |
22 |
| - </defaults> |
23 |
| - </argument> |
24 |
| - </arguments> |
25 |
| - <options> |
26 |
| - <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
27 |
| - <description>To output help as XML</description> |
28 |
| - </option> |
29 |
| - <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0"> |
30 |
| - <description>To output help in other formats</description> |
31 |
| - <defaults/> |
32 |
| - </option> |
33 |
| - <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
34 |
| - <description>To output raw command help</description> |
35 |
| - </option> |
36 |
| - <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0"> |
37 |
| - <description>Display this help message</description> |
38 |
| - </option> |
39 |
| - <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0"> |
40 |
| - <description>Do not output any message</description> |
41 |
| - </option> |
42 |
| - <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0"> |
43 |
| - <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description> |
44 |
| - </option> |
45 |
| - <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0"> |
46 |
| - <description>Display this application version</description> |
47 |
| - </option> |
48 |
| - <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
49 |
| - <description>Force ANSI output</description> |
50 |
| - </option> |
51 |
| - <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
52 |
| - <description>Disable ANSI output</description> |
53 |
| - </option> |
54 |
| - <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0"> |
55 |
| - <description>Do not ask any interactive question</description> |
56 |
| - </option> |
57 |
| - </options> |
58 |
| -</command> |
| 16 | + <aliases/> |
| 17 | + <arguments> |
| 18 | + <argument name="command_name" is_required="0" is_array="0"> |
| 19 | + <description>The command name</description> |
| 20 | + <defaults> |
| 21 | + <default>help</default> |
| 22 | + </defaults> |
| 23 | + </argument> |
| 24 | + </arguments> |
| 25 | + <options> |
| 26 | + <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 27 | + <description>To output help as XML</description> |
| 28 | + </option> |
| 29 | + <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0"> |
| 30 | + <description>To output he
67F4
lp in other formats</description> |
| 31 | + <defaults/> |
| 32 | + </option> |
| 33 | + <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 34 | + <description>To output raw command help</description> |
| 35 | + </option> |
| 36 | + <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0"> |
| 37 | + <description>Display this help message</description> |
| 38 | + </option> |
| 39 | + <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0"> |
| 40 | + <description>Do not output any message</description> |
| 41 | + </option> |
| 42 | + <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0"> |
| 43 | + <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description> |
| 44 | + </option> |
| 45 | + <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0"> |
| 46 | + <description>Display this application version</description> |
| 47 | + </option> |
| 48 | + <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 49 | + <description>Force ANSI output</description> |
| 50 | + </option> |
| 51 | + <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 52 | + <description>Disable ANSI output</description> |
| 53 | + </option> |
| 54 | + <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0"> |
| 55 | + <description>Do not ask any interactive question</description> |
| 56 | + </option> |
| 57 | + </options> |
| 58 | + </command> |
59 | 59 | <command id="list" name="list">
|
60 |
| - <usage>list [--xml] [--raw] [--format="..."] [namespace]</usage> |
61 |
| - <description>Lists commands</description> |
62 |
| - <help>The <info>list</info> command lists all commands: |
| 60 | + <usage>list [--xml] [--raw] [--format="..."] [namespace]</usage> |
| 61 | + <description>Lists commands</description> |
| 62 | + <help>The <info>list</info> command lists all commands: |
63 | 63 |
|
64 | 64 | <info>php app/console list</info>
|
65 | 65 |
|
|
74 | 74 | It's also possible to get raw list of commands (useful for embedding command runner):
|
75 | 75 |
|
76 | 76 | <info>php app/console list --raw</info></help>
|
77 |
| - <aliases/> |
78 |
| - <arguments> |
79 |
| - <argument name="namespace" is_required="0" is_array="0"> |
80 |
| - <description>The namespace name</description> |
81 |
| - <defaults/> |
82 |
| - </argument> |
83 |
| - </arguments> |
84 |
| - <options> |
85 |
| - <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
86 |
| - <description>To output list as XML</description> |
87 |
| - </option> |
88 |
| - <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
89 |
| - <description>To output raw command list</description> |
90 |
| - </option> |
91 |
| - <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0"> |
92 |
| - <description>To output list in other formats</description> |
93 |
| - <defaults/> |
94 |
| - </option> |
95 |
| - </options> |
96 |
| -</command> |
| 77 | + <aliases/> |
| 78 | + <arguments> |
| 79 | + <argument name="namespace" is_required="0" is_array="0"> |
| 80 | + <description>The namespace name</description> |
| 81 | + <defaults/> |
| 82 | + </argument> |
| 83 | + </arguments> |
| 84 | + <options> |
| 85 | + <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 86 | + <description>To output list as XML</description> |
| 87 | + </option> |
| 88 | + <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 89 | + <description>To output raw command list</description> |
| 90 | + </option> |
| 91 | + <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0"> |
| 92 | + <description>To output list in other formats</description> |
| 93 | + <defaults/> |
| 94 | + </option> |
| 95 | + </options> |
| 96 | + </command> |
97 | 97 | <command id="foo:bar" name="foo:bar">
|
98 |
| - <usage>foo:bar</usage> |
99 |
| - <description>The foo:bar command</description> |
100 |
| - <help>The foo:bar command</help> |
101 |
| - <aliases> |
102 |
| - <alias>afoobar</alias> |
103 |
| - </aliases> |
104 |
| - <arguments/> |
105 |
| - <options> |
106 |
| - <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0"> |
107 |
| - <description>Display this help message</description> |
108 |
| - </option> |
109 |
| - <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0"> |
110 |
| - <description>Do not output any message</description> |
111 |
| - </option> |
112 |
| - <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0"> |
113 |
| - <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description> |
114 |
| - </option> |
115 |
| - <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0"> |
116 |
| - <description>Display this application version</description> |
117 |
| - </option> |
118 |
| - <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
119 |
| - <description>Force ANSI output</description> |
120 |
| - </option> |
121 |
| - <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
122 |
| - <description>Disable ANSI output</description> |
123 |
| - </option> |
124 |
| - <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0"> |
125 |
| - <description>Do not ask any interactive question</description> |
126 |
| - </option> |
127 |
| - </options> |
128 |
| -</command> |
| 98 | + <usage>foo:bar</usage> |
| 99 | + <description>The foo:bar command</description> |
| 100 | + <help>The foo:bar command</help> |
| 101 | + <aliases> |
| 102 | + <alias>afoobar</alias> |
| 103 | + </aliases> |
| 104 | + <arguments/> |
| 105 | + <options> |
| 106 | + <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0"> |
| 107 | + <description>Display this help message</description> |
| 108 | + </option> |
| 109 | + <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0"> |
| 110 | + <description>Do not output any message</description> |
| 111 | + </option> |
| 112 | + <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0"> |
| 113 | + <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description> |
| 114 | + </option> |
| 115 | + <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0"> |
| 116 | + <description>Display this application version</description> |
| 117 | + </option> |
| 118 | + <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 119 | + <description>Force ANSI output</description> |
| 120 | + </option> |
| 121 | + <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0"> |
| 122 | + <description>Disable ANSI output</description> |
| 123 | + </option> |
| 124 | + <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0"> |
| 125 | + <description>Do not ask any interactive question</description> |
| 126 | + </option> |
| 127 | + </options> |
| 128 | + </command> |
129 | 129 | </commands>
|
130 | 130 | <namespaces>
|
131 | 131 | <namespace id="_global">
|
|
0 commit comments