123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437 |
- {
- "commands": [
- {
- "name": "_complete",
- "hidden": true,
- "usage": [
- "_complete [-s|--shell SHELL] [-i|--input INPUT] [-c|--current CURRENT] [-S|--symfony SYMFONY]"
- ],
- "description": "Internal command to provide shell completion suggestions",
- "help": "Internal command to provide shell completion suggestions",
- "definition": {
- "arguments": [],
- "options": {
- "symfony": {
- "name": "--symfony",
- "shortcut": "-S",
- "accept_value": true,
- "is_value_required": true,
- "is_multiple": false,
- "description": "The version of the completion script",
- "default": null
- },
- "help": {
- "name": "--help",
- "shortcut": "-h",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
- "default": false
- },
- "quiet": {
- "name": "--quiet",
- "shortcut": "-q",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not output any message",
- "default": false
- },
- "verbose": {
- "name": "--verbose",
- "shortcut": "-v|-vv|-vvv",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
- "default": false
- },
- "version": {
- "name": "--version",
- "shortcut": "-V",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display this application version",
- "default": false
- },
- "ansi": {
- "name": "--ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Force (or disable --no-ansi) ANSI output",
- "default": null
- },
- "no-ansi": {
- "name": "--no-ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Negate the \"--ansi\" option",
- "default": null
- },
- "no-interaction": {
- "name": "--no-interaction",
- "shortcut": "-n",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not ask any interactive question",
- "default": false
- },
- "shell": {
- "name": "--shell",
- "shortcut": "-s",
- "accept_value": true,
- "is_value_required": true,
- "is_multiple": false,
- "description": "The shell type (\"bash\")",
- "default": null
- },
- "current": {
- "name": "--current",
- "shortcut": "-c",
- "accept_value": true,
- "is_value_required": true,
- "is_multiple": false,
- "description": "The index of the \"input\" array that the cursor is in (e.g. COMP_CWORD)",
- "default": false
- },
- "input": {
- "name": "--input",
- "shortcut": "-i",
- "accept_value": true,
- "is_value_required": true,
- "is_multiple": true,
- "description": "An array of input tokens (e.g. COMP_WORDS or argv)",
- "default": []
- }
- }
- }
- },
- {
- "name": "completion",
- "hidden": false,
- "usage": [
- "completion [--debug] [--] [<shell>]"
- ],
- "description": "Dump the shell completion script",
- "help": "The <info>completion</> command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\n<comment>Static installation\n-------------------</>\n\nDump the script to a global completion file and restart your shell:\n\n <info>%%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%</>\n\nOr dump the script to a local file and source it:\n\n <info>%%PHP_SELF%% completion bash > completion.sh</>\n\n <comment># source the file whenever you use the project</>\n <info>source completion.sh</>\n\n <comment># or add this line at the end of your \"~/.bashrc\" file:</>\n <info>source /path/to/completion.sh</>\n\n<comment>Dynamic installation\n--------------------</>\n\nAdd this to the end of your shell configuration file (e.g. <info>\"~/.bashrc\"</>):\n\n <info>eval \"$(%%PHP_SELF_FULL%% completion bash)\"</>",
- "definition": {
- "arguments": {
- "shell": {
- "name": "shell",
- "is_required": false,
- "is_array": false,
- "description": "The shell type (e.g. \"bash\"), the value of the \"$SHELL\" env var will be used if this is not given",
- "default": null
- }
- },
- "options": {
- "help": {
- "name": "--help",
- "shortcut": "-h",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
- "default": false
- },
- "quiet": {
- "name": "--quiet",
- "shortcut": "-q",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not output any message",
- "default": false
- },
- "verbose": {
- "name": "--verbose",
- "shortcut": "-v|-vv|-vvv",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
- "default": false
- },
- "version": {
- "name": "--version",
- "shortcut": "-V",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display this application version",
- "default": false
- },
- "ansi": {
- "name": "--ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Force (or disable --no-ansi) ANSI output",
- "default": null
- },
- "no-ansi": {
- "name": "--no-ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Negate the \"--ansi\" option",
- "default": null
- },
- "no-interaction": {
- "name": "--no-interaction",
- "shortcut": "-n",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not ask any interactive question",
- "default": false
- },
- "debug": {
- "name": "--debug",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Tail the completion debug log",
- "default": false
- }
- }
- }
- },
- {
- "name": "help",
- "hidden": false,
- "usage": [
- "help [--format FORMAT] [--raw] [--] [<command_name>]"
- ],
- "description": "Display help for a command",
- "help": "The <info>help<\/info> command displays help for a given command:\n\n <info>%%PHP_SELF%% help list<\/info>\n\nYou can also output the help in other formats by using the <comment>--format<\/comment> option:\n\n <info>%%PHP_SELF%% help --format=xml list<\/info>\n\nTo display the list of available commands, please use the <info>list<\/info> command.",
- "definition": {
- "arguments": {
- "command_name": {
- "name": "command_name",
- "is_required": false,
- "is_array": false,
- "description": "The command name",
- "default": "help"
- }
- },
- "options": {
- "format": {
- "name": "--format",
- "shortcut": "",
- "accept_value": true,
- "is_value_required": true,
- "is_multiple": false,
- "description": "The output format (txt, xml, json, or md)",
- "default": "txt"
- },
- "raw": {
- "name": "--raw",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "To output raw command help",
- "default": false
- },
- "help": {
- "name": "--help",
- "shortcut": "-h",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
- "default": false
- },
- "quiet": {
- "name": "--quiet",
- "shortcut": "-q",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not output any message",
- "default": false
- },
- "verbose": {
- "name": "--verbose",
- "shortcut": "-v|-vv|-vvv",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
- "default": false
- },
- "version": {
- "name": "--version",
- "shortcut": "-V",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display this application version",
- "default": false
- },
- "ansi": {
- "name": "--ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Force (or disable --no-ansi) ANSI output",
- "default": null
- },
- "no-ansi": {
- "name": "--no-ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Negate the \"--ansi\" option",
- "default": null
- },
- "no-interaction": {
- "name": "--no-interaction",
- "shortcut": "-n",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not ask any interactive question",
- "default": false
- }
- }
- }
- },
- {
- "name": "list",
- "hidden": false,
- "usage": [
- "list [--raw] [--format FORMAT] [--short] [--] [<namespace>]"
- ],
- "description": "List commands",
- "help": "The <info>list<\/info> command lists all commands:\n\n <info>%%PHP_SELF%% list<\/info>\n\nYou can also display the commands for a specific namespace:\n\n <info>%%PHP_SELF%% list test<\/info>\n\nYou can also output the information in other formats by using the <comment>--format<\/comment> option:\n\n <info>%%PHP_SELF%% list --format=xml<\/info>\n\nIt's also possible to get raw list of commands (useful for embedding command runner):\n\n <info>%%PHP_SELF%% list --raw<\/info>",
- "definition": {
- "arguments": {
- "namespace": {
- "name": "namespace",
- "is_required": false,
- "is_array": false,
- "description": "The namespace name",
- "default": null
- }
- },
- "options": {
- "raw": {
- "name": "--raw",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "To output raw command list",
- "default": false
- },
- "format": {
- "name": "--format",
- "shortcut": "",
- "accept_value": true,
- "is_value_required": true,
- "is_multiple": false,
- "description": "The output format (txt, xml, json, or md)",
- "default": "txt"
- },
- "help": {
- "name": "--help",
- "shortcut": "-h",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
- "default": false
- },
- "quiet": {
- "name": "--quiet",
- "shortcut": "-q",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not output any message",
- "default": false
- },
- "verbose": {
- "name": "--verbose",
- "shortcut": "-v|-vv|-vvv",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
- "default": false
- },
- "version": {
- "name": "--version",
- "shortcut": "-V",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Display this application version",
- "default": false
- },
- "ansi": {
- "name": "--ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Force (or disable --no-ansi) ANSI output",
- "default": null
- },
- "no-ansi": {
- "name": "--no-ansi",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Negate the \"--ansi\" option",
- "default": null
- },
- "no-interaction": {
- "name": "--no-interaction",
- "shortcut": "-n",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "Do not ask any interactive question",
- "default": false
- },
- "short": {
- "name": "--short",
- "shortcut": "",
- "accept_value": false,
- "is_value_required": false,
- "is_multiple": false,
- "description": "To skip describing commands' arguments",
- "default": false
- }
- }
- }
- }
- ],
- "namespaces": [
- {
- "id": "_global",
- "commands": [
- "_complete",
- "completion",
- "help",
- "list"
- ]
- }
- ]
- }
|