UNPKG

1.33 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "ng-cli://commands/analytics.json",
4 "description": "Configures the gathering of Angular CLI usage metrics. See https://angular.io/cli/usage-analytics-gathering.",
5 "$longDescription": "./analytics-long.md",
6
7 "$aliases": [],
8 "$scope": "all",
9 "$type": "native",
10 "$impl": "./analytics-impl#AnalyticsCommand",
11
12 "type": "object",
13 "allOf": [
14 {
15 "properties": {
16 "settingOrProject": {
17 "enum": [
18 "on",
19 "off",
20 "ci",
21 "project",
22 "prompt"
23 ],
24 "description": "Directly enables or disables all usage analytics for the user, or prompts the user to set the status interactively, or sets the default status for the project.",
25 "$default": {
26 "$source": "argv",
27 "index": 0
28 }
29 },
30 "projectSetting": {
31 "enum": [
32 "on",
33 "off",
34 "prompt"
35 ],
36 "description": "Sets the default analytics enablement status for the project.",
37 "$default": {
38 "$source": "argv",
39 "index": 1
40 }
41 }
42 },
43 "required": [
44 "settingOrProject"
45 ]
46 },
47 { "$ref": "./definitions.json#/definitions/base" }
48 ]
49}