analytics:enable (Deprecated)
Examples for analytics:enable
sfdx analytics:enable
Command Syntax
- sfdx analytics:enable
- [--json]
- [--loglevel LOGLEVEL]
- [-u TARGETUSERNAME]
- [--apiversion APIVERSION]
- [-a]
- [-w WAIT]
- [-p POLLINTERVAL]
Parameters
- --json
- Optional
-
Format output as JSON.
- Type: boolean
- --loglevel LOGLEVEL
- Optional
-
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
- Type: enum
- Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
- Default value: warn
- -u | --targetusername TARGETUSERNAME
- Optional
-
A username or alias for the target org. Overrides the default target org.
- Type: string
- --apiversion APIVERSION
- Optional
-
Override the API version used for API requests made by this command.
- Type: string
- -a | --async
- Optional
-
Enable asynchronously.
- Type: boolean
- -w | --wait WAIT
- Optional
-
Wait time in minutes for auto-install request to finish (default 10).
- Type: number
- Default value: 10
- -p | --pollinterval POLLINTERVAL
- Optional
-
Polling interval in milliseconds for checking auto-install request status (default 5000).
- Type: number
- Default value: 5000