123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <?xml version="1.0" encoding="UTF-8"?>
- <symfony name="My Symfony application" version="v1.0">
- <commands>
- <command id="help" name="help">
- <usages>
- <usage>help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]</usage>
- </usages>
- <description>Displays help for a command</description>
- <help>The <info>help</info> command displays help for a given command:
-
- <info>php app/console help list</info>
-
- You can also output the help in other formats by using the <comment>--format</comment> option:
-
- <info>php app/console help --format=xml list</info>
-
- To display the list of available commands, please use the <info>list</info> command.</help>
- <arguments>
- <argument name="command_name" is_required="0" is_array="0">
- <description>The command name</description>
- <defaults>
- <default>help</default>
- </defaults>
- </argument>
- </arguments>
- <options>
- <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>To output help as XML</description>
- </option>
- <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
- <description>The output format (txt, xml, json, or md)</description>
- <defaults>
- <default>txt</default>
- </defaults>
- </option>
- <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>To output raw command help</description>
- </option>
- <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Display this help message</description>
- </option>
- <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Do not output any message</description>
- </option>
- <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
- </option>
- <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Display this application version</description>
- </option>
- <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Force ANSI output</description>
- </option>
- <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Disable ANSI output</description>
- </option>
- <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Do not ask any interactive question</description>
- </option>
- </options>
- </command>
- <command id="list" name="list">
- <usages>
- <usage>list [--xml] [--raw] [--format FORMAT] [--] [<namespace>]</usage>
- </usages>
- <description>Lists commands</description>
- <help>The <info>list</info> command lists all commands:
-
- <info>php app/console list</info>
-
- You can also display the commands for a specific namespace:
-
- <info>php app/console list test</info>
-
- You can also output the information in other formats by using the <comment>--format</comment> option:
-
- <info>php app/console list --format=xml</info>
-
- It's also possible to get raw list of commands (useful for embedding command runner):
-
- <info>php app/console list --raw</info></help>
- <arguments>
- <argument name="namespace" is_required="0" is_array="0">
- <description>The namespace name</description>
- <defaults/>
- </argument>
- </arguments>
- <options>
- <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>To output list as XML</description>
- </option>
- <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>To output raw command list</description>
- </option>
- <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
- <description>The output format (txt, xml, json, or md)</description>
- <defaults>
- <default>txt</default>
- </defaults>
- </option>
- </options>
- </command>
- <command id="descriptor:command1" name="descriptor:command1">
- <usages>
- <usage>descriptor:command1</usage>
- <usage>alias1</usage>
- <usage>alias2</usage>
- </usages>
- <description>command 1 description</description>
- <help>command 1 help</help>
- <arguments/>
- <options>
- <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Display this help message</description>
- </option>
- <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Do not output any message</description>
- </option>
- <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
- </option>
- <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Display this application version</description>
- </option>
- <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Force ANSI output</description>
- </option>
- <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Disable ANSI output</description>
- </option>
- <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Do not ask any interactive question</description>
- </option>
- </options>
- </command>
- <command id="descriptor:command2" name="descriptor:command2">
- <usages>
- <usage>descriptor:command2 [-o|--option_name] [--] <argument_name></usage>
- <usage>descriptor:command2 -o|--option_name <argument_name></usage>
- <usage>descriptor:command2 <argument_name></usage>
- </usages>
- <description>command 2 description</description>
- <help>command 2 help</help>
- <arguments>
- <argument name="argument_name" is_required="1" is_array="0">
- <description></description>
- <defaults/>
- </argument>
- </arguments>
- <options>
- <option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
- <description></description>
- </option>
- <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Display this help message</description>
- </option>
- <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Do not output any message</description>
- </option>
- <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
- </option>
- <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Display this application version</description>
- </option>
- <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Force ANSI output</description>
- </option>
- <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Disable ANSI output</description>
- </option>
- <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
- <description>Do not ask any interactive question</description>
- </option>
- </options>
- </command>
- </commands>
- <namespaces>
- <namespace id="_global">
- <command>alias1</command>
- <command>alias2</command>
- <command>help</command>
- <command>list</command>
- </namespace>
- <namespace id="descriptor">
- <command>descriptor:command1</command>
- <command>descriptor:command2</command>
- </namespace>
- </namespaces>
- </symfony>
|