command_2.json 960 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "name": "descriptor:command2",
  3. "hidden": false,
  4. "usage": [
  5. "descriptor:command2 [-o|--option_name] [--] <argument_name>",
  6. "descriptor:command2 -o|--option_name <argument_name>",
  7. "descriptor:command2 <argument_name>"
  8. ],
  9. "description": "command 2 description",
  10. "help": "command 2 help",
  11. "definition": {
  12. "arguments": {
  13. "argument_name": {
  14. "name": "argument_name",
  15. "is_required": true,
  16. "is_array": false,
  17. "description": "",
  18. "default": null
  19. }
  20. },
  21. "options": {
  22. "option_name": {
  23. "name": "--option_name",
  24. "shortcut": "-o",
  25. "accept_value": false,
  26. "is_value_required": false,
  27. "is_multiple": false,
  28. "description": "",
  29. "default": false
  30. }
  31. }
  32. }
  33. }