command_2.json 939 B

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