ng analytics <settingOrProject> <projectSetting> [options]
ng analytics command configures angular CLI usage metrics. Options are optional parameters.
Sr.No. | Argument & Syntax | Description |
---|---|---|
1 | <settingOrProject>=on|off|ci|project|prompt | 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. Following are the details of options.
|
2 | <projectSetting>=on|off|prompt | Sets the default analytics enablement status for the project. |
Sr.No. | Option & Syntax | Description |
---|---|---|
1 | --help=true|false|json|JSON |
Shows a help message for this command in the console. Default: false |
First move to an angular project updated using ng build command.
Now run the analytics command.
\>Node\>Howcodex> ng analytics off