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 |
|
7 | "$aliases": [ "g" ],
|
8 | "$scope": "in",
|
9 | "$type": "schematics",
|
10 | "$impl": "./generate-impl#GenerateCommand",
|
11 |
|
12 | "allOf": [
|
13 | {
|
14 | "type": "object",
|
15 | "properties": {
|
16 | "schematic": {
|
17 | "type": "string",
|
18 | "description": "The schematic or collection:schematic to generate.",
|
19 | "$default": {
|
20 | "$source": "argv",
|
21 | "index": 0
|
22 | }
|
23 | }
|
24 | },
|
25 | "required": [
|
26 | ]
|
27 | },
|
28 | { "$ref": "./definitions.json#/definitions/base" },
|
29 | { "$ref": "./definitions.json#/definitions/schematic" },
|
30 | { "$ref": "./definitions.json#/definitions/interactive" }
|
31 | ]
|
32 | }
|