Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 2 KB

File metadata and controls

58 lines (39 loc) · 2 KB

job

Description

This category includes interactions with Dynamic Content jobs

Run dc-cli job --help to get a list of available commands.

Return to README.md for information on other command categories.

Common Options

The following options are available for all job commands.

Option Name Type Description
--version [boolean] Show version number
--clientId [string]
[required]
Client ID for the source hub
--clientSecret [string]
[required]
Client secret for the source hub
--patToken [string]
[required]
PAT for the source hub
--hubId [string]
[required]
Hub ID for the source hub
--config [string]
[default: "~/.amplience/dc-cli-config.json"]
Path to JSON config file
--help [boolean] Show help

Commands

get

Get a job by ID.

dc-cli job get <id>

Options

Option Name Type Description
--json [boolean]
[default: false]
Render output as JSON

Examples

Get a job by ID

dc-cli job get abc67c23-4c22-4617-a009-0f976d77b789