mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
687 B
Plaintext
34 lines
687 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ng analytics
|
|
|
|
> Manage Angular CLI analytics settings.
|
|
> More information: <https://angular.dev/cli/analytics>.
|
|
|
|
- Enable analytics for the current project:
|
|
|
|
`ng analytics {{[on|enable]}}`
|
|
|
|
- Enable analytics globally:
|
|
|
|
`ng analytics {{[on|enable]}} {{[-g|--global]}}`
|
|
|
|
- Disable analytics for the current project:
|
|
|
|
`ng analytics {{[off|disable]}}`
|
|
|
|
- Disable analytics globally:
|
|
|
|
`ng analytics {{[off|disable]}} {{[-g|--global]}}`
|
|
|
|
- Display the current analytics configuration and status:
|
|
|
|
`ng analytics info`
|
|
|
|
- Prompt interactively to configure analytics settings:
|
|
|
|
`ng analytics prompt`
|