-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CLI procedure for syncing content view
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
guides/common/modules/proc_synchronizing-a-content-view.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[id="Synchronizing_a_Content_View_{context}"] | ||
= Synchronizing a content view | ||
|
||
You can use the Hammer CLI to synchronize a content view. | ||
You need to specify the content view or content view ID along with the lifecycle environment or lifecycle environment ID. | ||
You will need to include the organization or organization ID as well. | ||
|
||
.CLI procedure | ||
* Synchronize the content view by using Hammer: | ||
+ | ||
[options="nowrap", subs="+quotes,attributes"] | ||
---- | ||
# hammer -u admin -p changeme capsule content synchronize --help | ||
Usage: | ||
hammer capsule content synchronize [OPTIONS]Options: | ||
--async Do not wait for the task | ||
--content-view[-id] VALUE/NUMBER Name/id of the content view to limit the synchronization on | ||
--environment[-id] VALUE/NUMBER (-environment-id is deprecated: Use --lifecycle-environment-id instead) | ||
--id NUMBER Id of the capsule | ||
--lifecycle-environment[-id] VALUE/NUMBER Name/id of the environment to limit the synchronization on | ||
--name VALUE Name to search by | ||
--organization VALUE Organization name | ||
--organization-id VALUE Organization ID | ||
--repository[-id] VALUE/NUMBER Name/id of the repository to limit the synchronization on | ||
--skip-metadata-check BOOLEAN Skip metadata check on each repository on the capsule | ||
-h, --help Print helpOption details: | ||
Here you can find option types and the value an option can accept: BOOLEAN One of true/false, yes/no, 1/0 | ||
DATETIME Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format | ||
ENUM Possible values are described in the option's description | ||
FILE Path to a file | ||
KEY_VALUE_LIST Comma-separated list of key=value. | ||
JSON is acceptable and preferred way for such parameters | ||
LIST Comma separated list of values. Values containing comma should be quoted or escaped with backslash. | ||
JSON is acceptable and preferred way for such parameters | ||
MULTIENUM Any combination of possible values described in the option's description | ||
NUMBER Numeric value. Integer | ||
SCHEMA Comma separated list of values defined by a schema. | ||
JSON is acceptable and preferred way for such parameters | ||
VALUE Value described in the option's description. Mostly simple string | ||
---- |