application_1.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. {
  2. "commands": [
  3. {
  4. "name": "_complete",
  5. "hidden": true,
  6. "usage": [
  7. "_complete [-s|--shell SHELL] [-i|--input INPUT] [-c|--current CURRENT] [-S|--symfony SYMFONY]"
  8. ],
  9. "description": "Internal command to provide shell completion suggestions",
  10. "help": "Internal command to provide shell completion suggestions",
  11. "definition": {
  12. "arguments": [],
  13. "options": {
  14. "symfony": {
  15. "name": "--symfony",
  16. "shortcut": "-S",
  17. "accept_value": true,
  18. "is_value_required": true,
  19. "is_multiple": false,
  20. "description": "The version of the completion script",
  21. "default": null
  22. },
  23. "help": {
  24. "name": "--help",
  25. "shortcut": "-h",
  26. "accept_value": false,
  27. "is_value_required": false,
  28. "is_multiple": false,
  29. "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
  30. "default": false
  31. },
  32. "quiet": {
  33. "name": "--quiet",
  34. "shortcut": "-q",
  35. "accept_value": false,
  36. "is_value_required": false,
  37. "is_multiple": false,
  38. "description": "Do not output any message",
  39. "default": false
  40. },
  41. "verbose": {
  42. "name": "--verbose",
  43. "shortcut": "-v|-vv|-vvv",
  44. "accept_value": false,
  45. "is_value_required": false,
  46. "is_multiple": false,
  47. "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
  48. "default": false
  49. },
  50. "version": {
  51. "name": "--version",
  52. "shortcut": "-V",
  53. "accept_value": false,
  54. "is_value_required": false,
  55. "is_multiple": false,
  56. "description": "Display this application version",
  57. "default": false
  58. },
  59. "ansi": {
  60. "name": "--ansi",
  61. "shortcut": "",
  62. "accept_value": false,
  63. "is_value_required": false,
  64. "is_multiple": false,
  65. "description": "Force (or disable --no-ansi) ANSI output",
  66. "default": null
  67. },
  68. "no-ansi": {
  69. "name": "--no-ansi",
  70. "shortcut": "",
  71. "accept_value": false,
  72. "is_value_required": false,
  73. "is_multiple": false,
  74. "description": "Negate the \"--ansi\" option",
  75. "default": null
  76. },
  77. "no-interaction": {
  78. "name": "--no-interaction",
  79. "shortcut": "-n",
  80. "accept_value": false,
  81. "is_value_required": false,
  82. "is_multiple": false,
  83. "description": "Do not ask any interactive question",
  84. "default": false
  85. },
  86. "shell": {
  87. "name": "--shell",
  88. "shortcut": "-s",
  89. "accept_value": true,
  90. "is_value_required": true,
  91. "is_multiple": false,
  92. "description": "The shell type (\"bash\")",
  93. "default": null
  94. },
  95. "current": {
  96. "name": "--current",
  97. "shortcut": "-c",
  98. "accept_value": true,
  99. "is_value_required": true,
  100. "is_multiple": false,
  101. "description": "The index of the \"input\" array that the cursor is in (e.g. COMP_CWORD)",
  102. "default": false
  103. },
  104. "input": {
  105. "name": "--input",
  106. "shortcut": "-i",
  107. "accept_value": true,
  108. "is_value_required": true,
  109. "is_multiple": true,
  110. "description": "An array of input tokens (e.g. COMP_WORDS or argv)",
  111. "default": []
  112. }
  113. }
  114. }
  115. },
  116. {
  117. "name": "completion",
  118. "hidden": false,
  119. "usage": [
  120. "completion [--debug] [--] [<shell>]"
  121. ],
  122. "description": "Dump the shell completion script",
  123. "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)\"</>",
  124. "definition": {
  125. "arguments": {
  126. "shell": {
  127. "name": "shell",
  128. "is_required": false,
  129. "is_array": false,
  130. "description": "The shell type (e.g. \"bash\"), the value of the \"$SHELL\" env var will be used if this is not given",
  131. "default": null
  132. }
  133. },
  134. "options": {
  135. "help": {
  136. "name": "--help",
  137. "shortcut": "-h",
  138. "accept_value": false,
  139. "is_value_required": false,
  140. "is_multiple": false,
  141. "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
  142. "default": false
  143. },
  144. "quiet": {
  145. "name": "--quiet",
  146. "shortcut": "-q",
  147. "accept_value": false,
  148. "is_value_required": false,
  149. "is_multiple": false,
  150. "description": "Do not output any message",
  151. "default": false
  152. },
  153. "verbose": {
  154. "name": "--verbose",
  155. "shortcut": "-v|-vv|-vvv",
  156. "accept_value": false,
  157. "is_value_required": false,
  158. "is_multiple": false,
  159. "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
  160. "default": false
  161. },
  162. "version": {
  163. "name": "--version",
  164. "shortcut": "-V",
  165. "accept_value": false,
  166. "is_value_required": false,
  167. "is_multiple": false,
  168. "description": "Display this application version",
  169. "default": false
  170. },
  171. "ansi": {
  172. "name": "--ansi",
  173. "shortcut": "",
  174. "accept_value": false,
  175. "is_value_required": false,
  176. "is_multiple": false,
  177. "description": "Force (or disable --no-ansi) ANSI output",
  178. "default": null
  179. },
  180. "no-ansi": {
  181. "name": "--no-ansi",
  182. "shortcut": "",
  183. "accept_value": false,
  184. "is_value_required": false,
  185. "is_multiple": false,
  186. "description": "Negate the \"--ansi\" option",
  187. "default": null
  188. },
  189. "no-interaction": {
  190. "name": "--no-interaction",
  191. "shortcut": "-n",
  192. "accept_value": false,
  193. "is_value_required": false,
  194. "is_multiple": false,
  195. "description": "Do not ask any interactive question",
  196. "default": false
  197. },
  198. "debug": {
  199. "name": "--debug",
  200. "shortcut": "",
  201. "accept_value": false,
  202. "is_value_required": false,
  203. "is_multiple": false,
  204. "description": "Tail the completion debug log",
  205. "default": false
  206. }
  207. }
  208. }
  209. },
  210. {
  211. "name": "help",
  212. "hidden": false,
  213. "usage": [
  214. "help [--format FORMAT] [--raw] [--] [<command_name>]"
  215. ],
  216. "description": "Display help for a command",
  217. "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.",
  218. "definition": {
  219. "arguments": {
  220. "command_name": {
  221. "name": "command_name",
  222. "is_required": false,
  223. "is_array": false,
  224. "description": "The command name",
  225. "default": "help"
  226. }
  227. },
  228. "options": {
  229. "format": {
  230. "name": "--format",
  231. "shortcut": "",
  232. "accept_value": true,
  233. "is_value_required": true,
  234. "is_multiple": false,
  235. "description": "The output format (txt, xml, json, or md)",
  236. "default": "txt"
  237. },
  238. "raw": {
  239. "name": "--raw",
  240. "shortcut": "",
  241. "accept_value": false,
  242. "is_value_required": false,
  243. "is_multiple": false,
  244. "description": "To output raw command help",
  245. "default": false
  246. },
  247. "help": {
  248. "name": "--help",
  249. "shortcut": "-h",
  250. "accept_value": false,
  251. "is_value_required": false,
  252. "is_multiple": false,
  253. "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
  254. "default": false
  255. },
  256. "quiet": {
  257. "name": "--quiet",
  258. "shortcut": "-q",
  259. "accept_value": false,
  260. "is_value_required": false,
  261. "is_multiple": false,
  262. "description": "Do not output any message",
  263. "default": false
  264. },
  265. "verbose": {
  266. "name": "--verbose",
  267. "shortcut": "-v|-vv|-vvv",
  268. "accept_value": false,
  269. "is_value_required": false,
  270. "is_multiple": false,
  271. "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
  272. "default": false
  273. },
  274. "version": {
  275. "name": "--version",
  276. "shortcut": "-V",
  277. "accept_value": false,
  278. "is_value_required": false,
  279. "is_multiple": false,
  280. "description": "Display this application version",
  281. "default": false
  282. },
  283. "ansi": {
  284. "name": "--ansi",
  285. "shortcut": "",
  286. "accept_value": false,
  287. "is_value_required": false,
  288. "is_multiple": false,
  289. "description": "Force (or disable --no-ansi) ANSI output",
  290. "default": null
  291. },
  292. "no-ansi": {
  293. "name": "--no-ansi",
  294. "shortcut": "",
  295. "accept_value": false,
  296. "is_value_required": false,
  297. "is_multiple": false,
  298. "description": "Negate the \"--ansi\" option",
  299. "default": null
  300. },
  301. "no-interaction": {
  302. "name": "--no-interaction",
  303. "shortcut": "-n",
  304. "accept_value": false,
  305. "is_value_required": false,
  306. "is_multiple": false,
  307. "description": "Do not ask any interactive question",
  308. "default": false
  309. }
  310. }
  311. }
  312. },
  313. {
  314. "name": "list",
  315. "hidden": false,
  316. "usage": [
  317. "list [--raw] [--format FORMAT] [--short] [--] [<namespace>]"
  318. ],
  319. "description": "List commands",
  320. "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>",
  321. "definition": {
  322. "arguments": {
  323. "namespace": {
  324. "name": "namespace",
  325. "is_required": false,
  326. "is_array": false,
  327. "description": "The namespace name",
  328. "default": null
  329. }
  330. },
  331. "options": {
  332. "raw": {
  333. "name": "--raw",
  334. "shortcut": "",
  335. "accept_value": false,
  336. "is_value_required": false,
  337. "is_multiple": false,
  338. "description": "To output raw command list",
  339. "default": false
  340. },
  341. "format": {
  342. "name": "--format",
  343. "shortcut": "",
  344. "accept_value": true,
  345. "is_value_required": true,
  346. "is_multiple": false,
  347. "description": "The output format (txt, xml, json, or md)",
  348. "default": "txt"
  349. },
  350. "help": {
  351. "name": "--help",
  352. "shortcut": "-h",
  353. "accept_value": false,
  354. "is_value_required": false,
  355. "is_multiple": false,
  356. "description": "Display help for the given command. When no command is given display help for the <info>list</info> command",
  357. "default": false
  358. },
  359. "quiet": {
  360. "name": "--quiet",
  361. "shortcut": "-q",
  362. "accept_value": false,
  363. "is_value_required": false,
  364. "is_multiple": false,
  365. "description": "Do not output any message",
  366. "default": false
  367. },
  368. "verbose": {
  369. "name": "--verbose",
  370. "shortcut": "-v|-vv|-vvv",
  371. "accept_value": false,
  372. "is_value_required": false,
  373. "is_multiple": false,
  374. "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
  375. "default": false
  376. },
  377. "version": {
  378. "name": "--version",
  379. "shortcut": "-V",
  380. "accept_value": false,
  381. "is_value_required": false,
  382. "is_multiple": false,
  383. "description": "Display this application version",
  384. "default": false
  385. },
  386. "ansi": {
  387. "name": "--ansi",
  388. "shortcut": "",
  389. "accept_value": false,
  390. "is_value_required": false,
  391. "is_multiple": false,
  392. "description": "Force (or disable --no-ansi) ANSI output",
  393. "default": null
  394. },
  395. "no-ansi": {
  396. "name": "--no-ansi",
  397. "shortcut": "",
  398. "accept_value": false,
  399. "is_value_required": false,
  400. "is_multiple": false,
  401. "description": "Negate the \"--ansi\" option",
  402. "default": null
  403. },
  404. "no-interaction": {
  405. "name": "--no-interaction",
  406. "shortcut": "-n",
  407. "accept_value": false,
  408. "is_value_required": false,
  409. "is_multiple": false,
  410. "description": "Do not ask any interactive question",
  411. "default": false
  412. },
  413. "short": {
  414. "name": "--short",
  415. "shortcut": "",
  416. "accept_value": false,
  417. "is_value_required": false,
  418. "is_multiple": false,
  419. "description": "To skip describing commands' arguments",
  420. "default": false
  421. }
  422. }
  423. }
  424. }
  425. ],
  426. "namespaces": [
  427. {
  428. "id": "_global",
  429. "commands": [
  430. "_complete",
  431. "completion",
  432. "help",
  433. "list"
  434. ]
  435. }
  436. ]
  437. }