application_1.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. "commands": [
  3. {
  4. "name": "help",
  5. "usage": [
  6. "help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]"
  7. ],
  8. "description": "Displays help for a command",
  9. "help": "The <info>help<\/info> command displays help for a given command:\n\n <info>php app\/console help list<\/info>\n\nYou can also output the help in other formats by using the <comment>--format<\/comment> option:\n\n <info>php app\/console help --format=xml list<\/info>\n\nTo display the list of available commands, please use the <info>list<\/info> command.",
  10. "definition": {
  11. "arguments": {
  12. "command_name": {
  13. "name": "command_name",
  14. "is_required": false,
  15. "is_array": false,
  16. "description": "The command name",
  17. "default": "help"
  18. }
  19. },
  20. "options": {
  21. "xml": {
  22. "name": "--xml",
  23. "shortcut": "",
  24. "accept_value": false,
  25. "is_value_required": false,
  26. "is_multiple": false,
  27. "description": "To output help as XML",
  28. "default": false
  29. },
  30. "format": {
  31. "name": "--format",
  32. "shortcut": "",
  33. "accept_value": true,
  34. "is_value_required": true,
  35. "is_multiple": false,
  36. "description": "The output format (txt, xml, json, or md)",
  37. "default": "txt"
  38. },
  39. "raw": {
  40. "name": "--raw",
  41. "shortcut": "",
  42. "accept_value": false,
  43. "is_value_required": false,
  44. "is_multiple": false,
  45. "description": "To output raw command help",
  46. "default": false
  47. },
  48. "help": {
  49. "name": "--help",
  50. "shortcut": "-h",
  51. "accept_value": false,
  52. "is_value_required": false,
  53. "is_multiple": false,
  54. "description": "Display this help message",
  55. "default": false
  56. },
  57. "quiet": {
  58. "name": "--quiet",
  59. "shortcut": "-q",
  60. "accept_value": false,
  61. "is_value_required": false,
  62. "is_multiple": false,
  63. "description": "Do not output any message",
  64. "default": false
  65. },
  66. "verbose": {
  67. "name": "--verbose",
  68. "shortcut": "-v|-vv|-vvv",
  69. "accept_value": false,
  70. "is_value_required": false,
  71. "is_multiple": false,
  72. "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
  73. "default": false
  74. },
  75. "version": {
  76. "name": "--version",
  77. "shortcut": "-V",
  78. "accept_value": false,
  79. "is_value_required": false,
  80. "is_multiple": false,
  81. "description": "Display this application version",
  82. "default": false
  83. },
  84. "ansi": {
  85. "name": "--ansi",
  86. "shortcut": "",
  87. "accept_value": false,
  88. "is_value_required": false,
  89. "is_multiple": false,
  90. "description": "Force ANSI output",
  91. "default": false
  92. },
  93. "no-ansi": {
  94. "name": "--no-ansi",
  95. "shortcut": "",
  96. "accept_value": false,
  97. "is_value_required": false,
  98. "is_multiple": false,
  99. "description": "Disable ANSI output",
  100. "default": false
  101. },
  102. "no-interaction": {
  103. "name": "--no-interaction",
  104. "shortcut": "-n",
  105. "accept_value": false,
  106. "is_value_required": false,
  107. "is_multiple": false,
  108. "description": "Do not ask any interactive question",
  109. "default": false
  110. }
  111. }
  112. }
  113. },
  114. {
  115. "name": "list",
  116. "usage": [
  117. "list [--xml] [--raw] [--format FORMAT] [--] [<namespace>]"
  118. ],
  119. "description": "Lists commands",
  120. "help": "The <info>list<\/info> command lists all commands:\n\n <info>php app\/console list<\/info>\n\nYou can also display the commands for a specific namespace:\n\n <info>php app\/console list test<\/info>\n\nYou can also output the information in other formats by using the <comment>--format<\/comment> option:\n\n <info>php app\/console list --format=xml<\/info>\n\nIt's also possible to get raw list of commands (useful for embedding command runner):\n\n <info>php app\/console list --raw<\/info>",
  121. "definition": {
  122. "arguments": {
  123. "namespace": {
  124. "name": "namespace",
  125. "is_required": false,
  126. "is_array": false,
  127. "description": "The namespace name",
  128. "default": null
  129. }
  130. },
  131. "options": {
  132. "xml": {
  133. "name": "--xml",
  134. "shortcut": "",
  135. "accept_value": false,
  136. "is_value_required": false,
  137. "is_multiple": false,
  138. "description": "To output list as XML",
  139. "default": false
  140. },
  141. "raw": {
  142. "name": "--raw",
  143. "shortcut": "",
  144. "accept_value": false,
  145. "is_value_required": false,
  146. "is_multiple": false,
  147. "description": "To output raw command list",
  148. "default": false
  149. },
  150. "format": {
  151. "name": "--format",
  152. "shortcut": "",
  153. "accept_value": true,
  154. "is_value_required": true,
  155. "is_multiple": false,
  156. "description": "The output format (txt, xml, json, or md)",
  157. "default": "txt"
  158. }
  159. }
  160. }
  161. }
  162. ],
  163. "namespaces": [
  164. {
  165. "id": "_global",
  166. "commands": [
  167. "help",
  168. "list"
  169. ]
  170. }
  171. ]
  172. }