app Commands
Create and manage Analytics apps.
-
Creates an Analytics app.
-
Decouples an Analytics app from an Analytics template.
-
Delete Analytics apps.
-
Displays an Analytics app’s details.
-
Lists Analytics apps in the specified folder or target org.
-
Updates an Analytics app from a template.
Creates an Analytics app.
sf analytics app create[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-fDEFINITIONFILE][
-tTEMPLATEID][
-mTEMPLATENAME][
-nAPPNAME][
-a][
-v][
-wWAIT]
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-f|--definitionfileDEFINITIONFILEOptional
Analytics template definition file; required unless a --templateid value is specified.
Type: filepath
-t|--templateidTEMPLATEIDOptional
Template ID; required unless a --definitionfile value is specified.
Type: string
-m|--templatenameTEMPLATENAMEOptional
The name of the Analytics template.
Type: string
-n|--appnameAPPNAMEOptional
The name of the created app.
Type: string
-a|--asyncOptional
Create app asynchronously.
Type: boolean
-v|--alleventsOptional
Verbose display of all app create events.
Type: boolean
-w|--waitWAITOptional
Wait time in minutes for streaming app creation events (default 10).
Type: number
Default value: 10
Decouples an Analytics app from an Analytics template.
sf analytics app decouple[
--json][
--api-versionAPIVERSION]-oTARGETORG-fFOLDERID-tTEMPLATEID
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-f|--folderidFOLDERIDRequired
ID of the folder that contains the app data.
Type: id
-t|--templateidTEMPLATEIDRequired
Template ID.
Type: id
Delete Analytics apps.
sf analytics app delete[
--json][
--api-versionAPIVERSION]-oTARGETORG-fFOLDERID[
-p]
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-f|--folderidFOLDERIDRequired
ID of the folder that contains the app data.
Type: id
-p|--nopromptOptional
Do not prompt to confirm delete.
Type: boolean
Displays an Analytics app’s details.
sf analytics app display[
--json][
--apiversionAPIVERSION]-oTARGETORG-fFOLDERID[
-a]
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-f|--folderidFOLDERIDRequired
ID of the folder that contains the app data.
Type: id
-a|--applogOptional
Specify to include app creation log details.
Type: boolean
Lists Analytics apps in the specified folder or target org.
sf analytics app list[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-fFOLDERID]
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-f|--folderidFOLDERIDOptional
ID of the folder that contains the app data.
Type: string
Updates an Analytics app from a template.
sf analytics app update[
--json][
--api-versionAPIVERSION]-oTARGETORG-tTEMPLATEID-fFOLDERID[
-a][
-v][
-wWAIT]
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-t|--templateidTEMPLATEIDRequired
The ID of the Analytics template.
Type: string
-f|--folderidFOLDERIDRequired
ID of the folder that contains the app data.
Type: id
-a|--asyncOptional
Update app asynchronously.
Type: boolean
-v|--alleventsOptional
Verbose display of all app update events.
Type: boolean
-w|--waitWAITOptional
Wait time in minutes for streaming app update events (default 10).
Type: number
Default value: 10