application_1.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. {
  2. "commands": [
  3. {
  4. "name": "help",
  5. "hidden": false,
  6. "usage": [
  7. "help [--format FORMAT] [--raw] [--] [<command_name>]"
  8. ],
  9. "description": "Displays help for a command",
  10. "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.",
  11. "definition": {
  12. "arguments": {
  13. "command_name": {
  14. "name": "command_name",
  15. "is_required": false,
  16. "is_array": false,
  17. "description": "The command name",
  18. "default": "help"
  19. }
  20. },
  21. "options": {
  22. "format": {
  23. "name": "--format",
  24. "shortcut": "",
  25. "accept_value": true,
  26. "is_value_required": true,
  27. "is_multiple": false,
  28. "description": "The output format (txt, xml, json, or md)",
  29. "default": "txt"
  30. },
  31. "raw": {
  32. "name": "--raw",
  33. "shortcut": "",
  34. "accept_value": false,
  35. "is_value_required": false,
  36. "is_multiple": false,
  37. "description": "To output raw command help",
  38. "default": false
  39. },
  40. "help": {
  41. "name": "--help",
  42. "shortcut": "-h",
  43. "accept_value": false,
  44. "is_value_required": false,
  45. "is_multiple": false,
  46. "description": "Display this help message",
  47. "default": false
  48. },
  49. "quiet": {
  50. "name": "--quiet",
  51. "shortcut": "-q",
  52. "accept_value": false,
  53. "is_value_required": false,
  54. "is_multiple": false,
  55. "description": "Do not output any message",
  56. "default": false
  57. },
  58. "verbose": {
  59. "name": "--verbose",
  60. "shortcut": "-v|-vv|-vvv",
  61. "accept_value": false,
  62. "is_value_required": false,
  63. "is_multiple": false,
  64. "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
  65. "default": false
  66. },
  67. "version": {
  68. "name": "--version",
  69. "shortcut": "-V",
  70. "accept_value": false,
  71. "is_value_required": false,
  72. "is_multiple": false,
  73. "description": "Display this application version",
  74. "default": false
  75. },
  76. "ansi": {
  77. "name": "--ansi",
  78. "shortcut": "",
  79. "accept_value": false,
  80. "is_value_required": false,
  81. "is_multiple": false,
  82. "description": "Force ANSI output",
  83. "default": false
  84. },
  85. "no-ansi": {
  86. "name": "--no-ansi",
  87. "shortcut": "",
  88. "accept_value": false,
  89. "is_value_required": false,
  90. "is_multiple": false,
  91. "description": "Disable ANSI output",
  92. "default": false
  93. },
  94. "no-interaction": {
  95. "name": "--no-interaction",
  96. "shortcut": "-n",
  97. "accept_value": false,
  98. "is_value_required": false,
  99. "is_multiple": false,
  100. "description": "Do not ask any interactive question",
  101. "default": false
  102. }
  103. }
  104. }
  105. },
  106. {
  107. "name": "list",
  108. "hidden": false,
  109. "usage": [
  110. "list [--raw] [--format FORMAT] [--] [<namespace>]"
  111. ],
  112. "description": "Lists commands",
  113. "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>",
  114. "definition": {
  115. "arguments": {
  116. "namespace": {
  117. "name": "namespace",
  118. "is_required": false,
  119. "is_array": false,
  120. "description": "The namespace name",
  121. "default": null
  122. }
  123. },
  124. "options": {
  125. "raw": {
  126. "name": "--raw",
  127. "shortcut": "",
  128. "accept_value": false,
  129. "is_value_required": false,
  130. "is_multiple": false,
  131. "description": "To output raw command list",
  132. "default": false
  133. },
  134. "format": {
  135. "name": "--format",
  136. "shortcut": "",
  137. "accept_value": true,
  138. "is_value_required": true,
  139. "is_multiple": false,
  140. "description": "The output format (txt, xml, json, or md)",
  141. "default": "txt"
  142. }
  143. }
  144. }
  145. }
  146. ],
  147. "namespaces": [
  148. {
  149. "id": "_global",
  150. "commands": [
  151. "help",
  152. "list"
  153. ]
  154. }
  155. ]
  156. }