From 064d3a97f0afb9000f36f751ccd6a57b9bd13f1e Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Wed, 10 Jul 2019 10:25:04 -0700 Subject: [PATCH 1/2] docs: add possible values to ref doc for analytics command --- packages/angular/cli/commands/analytics-long.md | 6 ++++++ packages/angular/cli/commands/analytics.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 packages/angular/cli/commands/analytics-long.md diff --git a/packages/angular/cli/commands/analytics-long.md b/packages/angular/cli/commands/analytics-long.md new file mode 100644 index 000000000000..bf7ff6296c49 --- /dev/null +++ b/packages/angular/cli/commands/analytics-long.md @@ -0,0 +1,6 @@ +The value of *settingOrProject* is one of the following. +* "on" : Enables analytics gathering for the user. +* "off" : Disables analytics gathering for the user. +* "ci" : +* "prompt" : Prompts the user to set the status interactively. +* "project" : Sets the default status for the project to the *projectSetting* value, which can be any of the other values. The *projectSetting* argument is ignored for all other values of *settingOrProject*. \ No newline at end of file diff --git a/packages/angular/cli/commands/analytics.json b/packages/angular/cli/commands/analytics.json index f2e17059161f..f806e5c8e7bf 100644 --- a/packages/angular/cli/commands/analytics.json +++ b/packages/angular/cli/commands/analytics.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/analytics.json", "description": "Configures the gathering of Angular CLI usage metrics. See https://v8.angular.io/cli/usage-analytics-gathering.", - "$longDescription": "", + "$longDescription": "./analytics-long.md", "$aliases": [], "$scope": "all", From d755eed68658293370954688d0bdb842ed10ca15 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Wed, 10 Jul 2019 12:52:36 -0700 Subject: [PATCH 2/2] docs: add ci value --- packages/angular/cli/commands/analytics-long.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/angular/cli/commands/analytics-long.md b/packages/angular/cli/commands/analytics-long.md index bf7ff6296c49..60e0d86686e8 100644 --- a/packages/angular/cli/commands/analytics-long.md +++ b/packages/angular/cli/commands/analytics-long.md @@ -1,6 +1,7 @@ The value of *settingOrProject* is one of the following. -* "on" : Enables analytics gathering for the user. -* "off" : Disables analytics gathering for the user. -* "ci" : +* "on" : Enables analytics gathering and reporting for the user. +* "off" : Disables analytics gathering and reporting for the user. +* "ci" : Enables analytics and configures reporting for use with Continuous Integration, +which uses a common CI user. * "prompt" : Prompts the user to set the status interactively. * "project" : Sets the default status for the project to the *projectSetting* value, which can be any of the other values. The *projectSetting* argument is ignored for all other values of *settingOrProject*. \ No newline at end of file