The linked-content-repository command category includes a number of interactions with linked content respositories.
Run dc-cli linked-content-repository --help to get a list of available commands.
Return to README.md for information on other command categories.
The following options are available for all linked-content-repository commands.
| Option Name | Type | Description |
|---|---|---|
| --version | [boolean] | Show version number |
| --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 |
List linked content repositories that exist in the target hubs Organization.
dc-cli linked-content-repository list
| Option Name | Type | Description |
|---|---|---|
| --sort | [string] | How to order the list e.g "<property>,<asc|desc>..." |
| --json | [boolean] [default: false] |
Render output as JSON |
dc-cli linked-content-repository list
Creates a linked content repository.
dc-cli linked-content-repository create
| Option Name | Type | Description |
|---|---|---|
| --file | [string] [required] |
Path to file containing link content respository JSON |
| --json | [boolean] [default: false] |
Render output as JSON |
dc-cli linked-content-repository create --file '/User/Ampy/my-linked-content-repository-to-create.json'
Updates a linked content repository.
dc-cli linked-content-repository update
| Option Name | Type | Description |
|---|---|---|
| --file | [string] [required] |
Path to file containing link content respository JSON |
| --json | [boolean] [default: false] |
Render output as JSON |
dc-cli linked-content-repository update --file '/User/Ampy/my-linked-content-repository-to-update.json'
Deletes a linked content repository.
dc-cli linked-content-repository delete
| Option Name | Type | Description |
|---|---|---|
| --file | [string] [required] |
Path to file containing link content respository JSON |
| --json | [boolean] [default: false] |
Render output as JSON |
dc-cli linked-content-repository delete --file '/User/Ampy/my-linked-content-repository-to-delete.json'