1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "$id": "ng-cli://commands/config.json",
|
4 | "description": "Retrieves or sets Angular configuration values in the angular.json file for the workspace.",
|
5 | "$longDescription": "",
|
6 |
|
7 | "$aliases": [],
|
8 | "$scope": "all",
|
9 | "$type": "native",
|
10 | "$impl": "./config-impl#ConfigCommand",
|
11 |
|
12 | "type": "object",
|
13 | "allOf": [
|
14 | {
|
15 | "properties": {
|
16 | "jsonPath": {
|
17 | "type": "string",
|
18 | "description": "The configuration key to set or query, in JSON path format. For example: \"a[3].foo.bar[2]\". If no new value is provided, returns the current value of this key.",
|
19 | "$default": {
|
20 | "$source": "argv",
|
21 | "index": 0
|
22 | }
|
23 | },
|
24 | "value": {
|
25 | "type": ["string", "number", "boolean"],
|
26 | "description": "If provided, a new value for the given configuration key.",
|
27 | "$default": {
|
28 | "$source": "argv",
|
29 | "index": 1
|
30 | }
|
31 | },
|
32 | "global": {
|
33 | "type": "boolean",
|
34 | "description": "When true, accesses the global configuration in the caller's home directory.",
|
35 | "default": false,
|
36 | "aliases": ["g"]
|
37 | }
|
38 | },
|
39 | "required": [
|
40 | ]
|
41 | },
|
42 | { "$ref": "./definitions.json#/definitions/base" }
|
43 | ]
|
44 | }
|