@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish
1919$ csdx COMMAND
2020running command...
2121$ csdx (-v| --version| version)
22- @contentstack/cli-cm-bulk-publish/0.0.20 darwin -x64 node-v10.19.0
22+ @contentstack/cli-cm-bulk-publish/0.0.20 linux -x64 node-v12.18.4
2323$ csdx --help [COMMAND]
2424USAGE
2525 $ csdx COMMAND
@@ -94,8 +94,8 @@ EXAMPLES
9494 csdx cm:bulk-publish:add-fields -c [PATH TO CONFIG FILE]
9595
9696 Using --retryFailed or -r flag
97- csdx cm:bulk-publish:add-fields --retryFailed [PATH TO LOG FILE]
98- csdx cm:bulk-publish:add-fields -r [PATH TO LOG FILE]
97+ csdx cm:bulk-publish:add-fields --retryFailed [LOG FILE NAME ]
98+ csdx cm:bulk-publish:add-fields -r [LOG FILE NAME ]
9999```
100100
101101_ See code: [ src/commands/cm/bulk-publish/add-fields.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/add-fields.js ) _
@@ -131,7 +131,7 @@ OPTIONS
131131DESCRIPTION
132132 The assets command is used for publishing assets from the specified stack, to the specified environments
133133
134- Environment/s are required for executing the command successfully
134+ Environment(s) and Locale(s) are required for executing the command successfully
135135 But, if retryFailed flag is set, then only a logfile is required
136136
137137EXAMPLES
@@ -141,8 +141,8 @@ EXAMPLES
141141 csdx cm:bulk-publish:assets -c [PATH TO CONFIG FILE]
142142
143143 Using --retryFailed or -r flag
144- csdx cm:bulk-publish:assets --retryFailed [PATH TO LOG FILE]
145- csdx cm:bulk-publish:assets -r [PATH TO LOG FILE]
144+ csdx cm:bulk-publish:assets --retryFailed [LOG FILE NAME ]
145+ csdx cm:bulk-publish:assets -r [LOG FILE NAME ]
146146```
147147
148148_ See code: [ src/commands/cm/bulk-publish/assets.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/assets.js ) _
@@ -222,7 +222,7 @@ OPTIONS
222222DESCRIPTION
223223 The cross-publish command is used for publishing entries and assets from one evironment to other environments
224224
225- Content Types, Environments and Locales are required for executing the command successfully
225+ Content Type, Environment, Destination Environment(s) and Locale are required for executing the command successfully
226226 But, if retryFailed flag is set, then only a logfile is required
227227
228228EXAMPLES
@@ -232,8 +232,8 @@ EXAMPLES
232232 csdx cm:bulk-publish:cross-publish -c [PATH TO CONFIG FILE]
233233
234234 Using --retryFailed or -r flag
235- csdx cm:bulk-publish:cross-publish --retryFailed [PATH TO LOG FILE]
236- csdx cm:bulk-publish:cross-publish -r [PATH TO LOG FILE]
235+ csdx cm:bulk-publish:cross-publish --retryFailed [LOG FILE NAME ]
236+ csdx cm:bulk-publish:cross-publish -r [LOG FILE NAME ]
237237```
238238
239239_ See code: [ src/commands/cm/bulk-publish/cross-publish.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/cross-publish.js ) _
@@ -284,8 +284,8 @@ EXAMPLES
284284 csdx cm:bulk-publish:entries -c [PATH TO CONFIG FILE]
285285
286286 Using --retryFailed or -r flag
287- csdx cm:bulk-publish:entries --retryFailed [PATH TO LOG FILE]
288- csdx cm:bulk-publish:entries -r [PATH TO LOG FILE]
287+ csdx cm:bulk-publish:entries --retryFailed [LOG FILE NAME ]
288+ csdx cm:bulk-publish:entries -r [LOG FILE NAME ]
289289```
290290
291291_ See code: [ src/commands/cm/bulk-publish/entries.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/entries.js ) _
@@ -324,7 +324,8 @@ DESCRIPTION
324324 The entry-edits command is used for publishing entries from the specified content types, to the
325325 specified environments and locales
326326
327- Content Types, Environments and Locales are required for executing the command successfully
327+ Content Type(s), Source Environment, Destination Environment(s) and Locale(s) are required for executing the command
328+ successfully
328329 But, if retryFailed flag is set, then only a logfile is required
329330
330331EXAMPLES
@@ -334,8 +335,8 @@ EXAMPLES
334335 csdx cm:bulk-publish:entry-edits -c [PATH TO CONFIG FILE]
335336
336337 Using --retryFailed or -r flag
337- csdx cm:bulk-publish:entry-edits --retryFailed [PATH TO LOG FILE]
338- csdx cm:bulk-publish:entry-edits -r [PATH TO LOG FILE]
338+ csdx cm:bulk-publish:entry-edits --retryFailed [LOG FILE NAME ]
339+ csdx cm:bulk-publish:entry-edits -r [LOG FILE NAME ]
339340```
340341
341342_ See code: [ src/commands/cm/bulk-publish/entry-edits.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/entry-edits.js ) _
@@ -382,8 +383,8 @@ EXAMPLES
382383 csdx cm:bulk-publish:nonlocalized-field-changes -c [PATH TO CONFIG FILE]
383384
384385 Using --retryFailed or -r flag
385- csdx cm:bulk-publish:nonlocalized-field-changes --retryFailed [PATH TO LOG FILE]
386- csdx cm:bulk-publish:nonlocalized-field-changes -r [PATH TO LOG FILE]
386+ csdx cm:bulk-publish:nonlocalized-field-changes --retryFailed [LOG FILE NAME ]
387+ csdx cm:bulk-publish:nonlocalized-field-changes -r [LOG FILE NAME ]
387388```
388389
389390_ See code: [ src/commands/cm/bulk-publish/nonlocalized-field-changes.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/nonlocalized-field-changes.js ) _
@@ -401,24 +402,17 @@ OPTIONS
401402 -r, --retryFailed=retryFailed retry publishing failed entries from the logfile
402403
403404DESCRIPTION
404- ...
405405 The revert command is used for reverting all publish operations performed using bulk-publish script.
406+ A log file name is required to execute revert command
406407
407- Here is a detailed description for all the available flags
408- -----------------------------------------------------------------------------------------------------------
409- --retryFailed or -r : This flag is used to retry publishing entries or assets, that failed to publish in a previous
410- attempt. A log file for the previous session will be required for processing the failed elements.
411-
412- NOTE: When retryFailed flag is set, all other flags will be ignored
413-
414- EXAMPLE : cm:bulk-publish:revert --retryFailed [PATH TO LOG FILE]
415- EXAMPLE : cm:bulk-publish:revert -r [PATH TO LOG FILE]
416- -----------------------------------------------------------------------------------------------------------
417- --logFile or -l : logFile to be used for revert
408+ EXAMPLES
409+ Using --logFile
410+ cm:bulk-publish:revert --logFile [LOG FILE NAME]
411+ cm:bulk-publish:revert -l [LOG FILE NAME]
418412
419- EXAMPLE : cm:bulk-publish:revert --logFile [PATH TO LOG FILE]
420- EXAMPLE : cm:bulk-publish:revert -l [PATH TO LOG FILE]
421- -----------------------------------------------------------------------------------------------------------
413+ Using --retryFailed
414+ cm:bulk-publish:revert --retryFailed [ LOG FILE NAME ]
415+ cm:bulk-publish:revert -r [LOG FILE NAME]
422416```
423417
424418_ See code: [ src/commands/cm/bulk-publish/revert.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/revert.js ) _
@@ -459,18 +453,36 @@ OPTIONS
459453DESCRIPTION
460454 The unpublish command is used for unpublishing entries from given environment
461455
462- Content Types, Environments and Locales are required for executing the command successfully
456+ Environment (Source Environment) and Locale are required for executing the command successfully
463457 But, if retryFailed flag is set, then only a logfile is required
464458
459+ A Content Type can be specified for publishing entries, but if no content-type(s) is/are specified and --onlyAssets is
460+ not used,
461+ then all entries from all content types will be unpublished from the source environment
462+
465463EXAMPLES
466464 Using --config or -c flag
467465 Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`
468466 csdx cm:bulk-publish:unpublish --config [PATH TO CONFIG FILE]
469467 csdx cm:bulk-publish:unpublish -c [PATH TO CONFIG FILE]
470468
471469 Using --retryFailed or -r flag
472- csdx cm:bulk-publish:unpublish --retryFailed [PATH TO LOG FILE]
473- csdx cm:bulk-publish:unpublish -r [PATH TO LOG FILE]
470+ csdx cm:bulk-publish:unpublish --retryFailed [LOG FILE NAME]
471+ csdx cm:bulk-publish:unpublish -r [LOG FILE NAME]
472+
473+ No content type
474+ csdx cm:bulk-publish:unpublish --environment [SOURCE ENV] --locale [LOCALE] (Will unpublish all entries from all
475+ content types and assets from the source environment)
476+
477+ Using --onlyAssets
478+ csdx cm:bulk-publish:unpublish --environment [SOURCE ENV] --locale [LOCALE] --onlyAssets (Will unpublish only assets
479+ from the source environment)
480+
481+ Using --onlyEntries
482+ csdx cm:bulk-publish:unpublish --environment [SOURCE ENV] --locale [LOCALE] --onlyEntries (Will unpublish only
483+ entries, all entries, from the source environment)
484+ csdx cm:bulk-publish:unpublish --contentType [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --onlyEntries
485+ (Will unpublish only entries, (from CONTENT TYPE) from the source environment)
474486```
475487
476488_ See code: [ src/commands/cm/bulk-publish/unpublish.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/unpublish.js ) _
@@ -508,7 +520,8 @@ DESCRIPTION
508520 The unpublished-entries command is used for publishing unpublished entries from the source environment, to other
509521 environments and locales
510522
511- Content Types, Environments and Locales are required for executing the command successfully
523+ Content Type(s), Source Environment, Destination Environment(s) and Source Locale are required for executing the
524+ command successfully
512525 But, if retryFailed flag is set, then only a logfile is required
513526
514527EXAMPLES
@@ -518,8 +531,8 @@ EXAMPLES
518531 csdx cm:bulk-publish:unpublished-entries -c [PATH TO CONFIG FILE]
519532
520533 Using --retryFailed or -r flag
521- csdx cm:bulk-publish:unpublished-entries --retryFailed [PATH TO LOG FILE]
522- csdx cm:bulk-publish:unpublished-entries -r [PATH TO LOG FILE]
534+ csdx cm:bulk-publish:unpublished-entries --retryFailed [LOG FILE NAME ]
535+ csdx cm:bulk-publish:unpublished-entries -r [LOG FILE NAME ]
523536```
524537
525538_ See code: [ src/commands/cm/bulk-publish/unpublished-entries.js] ( https://github.com/contentstack/cli/blob/v0.0.20/src/commands/cm/bulk-publish/unpublished-entries.js ) _
0 commit comments