_complete [-s|--shell SHELL] [-i|--input INPUT] [-c|--current CURRENT] [-S|--symfony SYMFONY]Internal command to provide shell completion suggestionsInternal command to provide shell completion suggestionscompletion [--debug] [--] [<shell>]Dump the shell completion scriptThe <info>completion</> command dumps the shell completion script required
to use shell autocompletion (currently only bash completion is supported).
<comment>Static installation
-------------------</>
Dump the script to a global completion file and restart your shell:
<info>%%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%</>
Or dump the script to a local file and source it:
<info>%%PHP_SELF%% completion bash > completion.sh</>
<comment># source the file whenever you use the project</>
<info>source completion.sh</>
<comment># or add this line at the end of your "~/.bashrc" file:</>
<info>source /path/to/completion.sh</>
<comment>Dynamic installation
--------------------</>
Add this to the end of your shell configuration file (e.g. <info>"~/.bashrc"</>):
<info>eval "$(%%PHP_SELF_FULL%% completion bash)"</>The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not givenhelp [--format FORMAT] [--raw] [--] [<command_name>]Display help for a commandThe <info>help</info> command displays help for a given command:
<info>%%PHP_SELF%% help list</info>
You can also output the help in other formats by using the <comment>--format</comment> option:
<info>%%PHP_SELF%% help --format=xml list</info>
To display the list of available commands, please use the <info>list</info> command.The command namehelplist [--raw] [--format FORMAT] [--short] [--] [<namespace>]List commandsThe <info>list</info> command lists all commands:
<info>%%PHP_SELF%% list</info>
You can also display the commands for a specific namespace:
<info>%%PHP_SELF%% list test</info>
You can also output the information in other formats by using the <comment>--format</comment> option:
<info>%%PHP_SELF%% list --format=xml</info>
It's also possible to get raw list of commands (useful for embedding command runner):
<info>%%PHP_SELF%% list --raw</info>The namespace namedescriptor:command1alias1alias2command 1 descriptioncommand 1 helpdescriptor:command2 [-o|--option_name] [--] <argument_name>descriptor:command2 -o|--option_name <argument_name>descriptor:command2 <argument_name>command 2 descriptioncommand 2 helpdescriptor:command3command 3 descriptioncommand 3 helpdescriptor:command4descriptor:alias_command4command4:descriptor_completealias1alias2completionhelplistcommand4:descriptordescriptor:alias_command4descriptor:command1descriptor:command2descriptor:command3descriptor:command4