generate.json 830 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "$schema": "http://json-schema.org/schema",
  3. "$id": "ng-cli://commands/generate.json",
  4. "description": "Generates and/or modifies files based on a schematic.",
  5. "$longDescription": "",
  6. "$aliases": [ "g" ],
  7. "$scope": "in",
  8. "$type": "schematics",
  9. "$impl": "./generate-impl#GenerateCommand",
  10. "allOf": [
  11. {
  12. "type": "object",
  13. "properties": {
  14. "schematic": {
  15. "type": "string",
  16. "description": "The schematic or collection:schematic to generate.",
  17. "$default": {
  18. "$source": "argv",
  19. "index": 0
  20. }
  21. }
  22. },
  23. "required": [
  24. ]
  25. },
  26. { "$ref": "./definitions.json#/definitions/base" },
  27. { "$ref": "./definitions.json#/definitions/schematic" },
  28. { "$ref": "./definitions.json#/definitions/interactive" }
  29. ]
  30. }