@contentstack/cli-cm-bulk-publish 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (-v|--version|version)
21
- @contentstack/cli-cm-bulk-publish/1.0.1 darwin-arm64 node-v16.17.0
21
+ @contentstack/cli-cm-bulk-publish/1.0.3 linux-x64 node-v16.18.1
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -111,7 +111,7 @@ EXAMPLES
111
111
  ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]
112
112
  ```
113
113
 
114
- _See code: [src/commands/cm/assets/publish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/assets/publish.js)_
114
+ _See code: [src/commands/cm/assets/publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/assets/publish.js)_
115
115
 
116
116
  ## `csdx cm:assets:unpublish`
117
117
 
@@ -163,7 +163,7 @@ EXAMPLES
163
163
  ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
164
164
  ```
165
165
 
166
- _See code: [src/commands/cm/assets/unpublish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/assets/unpublish.js)_
166
+ _See code: [src/commands/cm/assets/unpublish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/assets/unpublish.js)_
167
167
 
168
168
  ## `csdx cm:bulk-publish`
169
169
 
@@ -174,7 +174,7 @@ USAGE
174
174
  $ csdx cm:bulk-publish
175
175
  ```
176
176
 
177
- _See code: [src/commands/cm/bulk-publish/index.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/index.js)_
177
+ _See code: [src/commands/cm/bulk-publish/index.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/index.js)_
178
178
 
179
179
  ## `csdx cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type <value>] [--locales <value>] [--source-env <value>] [--environments <value>] [--delivery-token <value>] [-c <value>] [-y] [--branch <value>] [--onlyAssets] [--onlyEntries]`
180
180
 
@@ -242,7 +242,7 @@ EXAMPLES
242
242
  ENVIRONMENT] --locales [LOCALE] -a [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
243
243
  ```
244
244
 
245
- _See code: [src/commands/cm/bulk-publish/cross-publish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js)_
245
+ _See code: [src/commands/cm/bulk-publish/cross-publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js)_
246
246
 
247
247
  ## `csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token <value>] [--source-env <value>]`
248
248
 
@@ -318,7 +318,7 @@ EXAMPLES
318
318
  [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]
319
319
  ```
320
320
 
321
- _See code: [src/commands/cm/entries/publish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js)_
321
+ _See code: [src/commands/cm/entries/publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js)_
322
322
 
323
323
  ## `csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`
324
324
 
@@ -383,7 +383,7 @@ EXAMPLES
383
383
  [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
384
384
  ```
385
385
 
386
- _See code: [src/commands/cm/entries/publish-modified.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-modified.js)_
386
+ _See code: [src/commands/cm/entries/publish-modified.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-modified.js)_
387
387
 
388
388
  ## `csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`
389
389
 
@@ -443,7 +443,7 @@ EXAMPLES
443
443
  [ENVIRONMENT 1] [ENVIRONMENT 2] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENV] --branch [BRANCH NAME]
444
444
  ```
445
445
 
446
- _See code: [src/commands/cm/entries/publish-non-localized-fields.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-non-localized-fields.js)_
446
+ _See code: [src/commands/cm/entries/publish-non-localized-fields.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-non-localized-fields.js)_
447
447
 
448
448
  ## `csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`
449
449
 
@@ -506,7 +506,7 @@ EXAMPLES
506
506
  [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME] -source-env [SOURCE ENV]
507
507
  ```
508
508
 
509
- _See code: [src/commands/cm/entries/publish-only-unpublished.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-only-unpublished.js)_
509
+ _See code: [src/commands/cm/entries/publish-only-unpublished.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-only-unpublished.js)_
510
510
 
511
511
  ## `csdx cm:entries:unpublish`
512
512
 
@@ -561,7 +561,7 @@ EXAMPLES
561
561
  --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
562
562
  ```
563
563
 
564
- _See code: [src/commands/cm/entries/unpublish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js)_
564
+ _See code: [src/commands/cm/entries/unpublish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js)_
565
565
 
566
566
  ## `csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]`
567
567
 
@@ -626,7 +626,7 @@ EXAMPLES
626
626
  2] --locale [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
627
627
  ```
628
628
 
629
- _See code: [src/commands/cm/entries/update-and-publish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/entries/update-and-publish.js)_
629
+ _See code: [src/commands/cm/entries/update-and-publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/update-and-publish.js)_
630
630
 
631
631
  ## `csdx cm:stacks:publish`
632
632
 
@@ -661,7 +661,7 @@ EXAMPLES
661
661
  ALIAS] --branch [BRANCH NAME]
662
662
  ```
663
663
 
664
- _See code: [src/commands/cm/stacks/publish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish.js)_
664
+ _See code: [src/commands/cm/stacks/publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish.js)_
665
665
 
666
666
  ## `csdx cm:stacks:publish-clear-logs`
667
667
 
@@ -685,7 +685,7 @@ EXAMPLES
685
685
  csdx cm:stacks:publish-clear-logs -y
686
686
  ```
687
687
 
688
- _See code: [src/commands/cm/stacks/publish-clear-logs.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-clear-logs.js)_
688
+ _See code: [src/commands/cm/stacks/publish-clear-logs.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-clear-logs.js)_
689
689
 
690
690
  ## `csdx cm:stacks:publish-configure`
691
691
 
@@ -707,7 +707,7 @@ EXAMPLES
707
707
  csdx cm:stacks:publish-configure --alias <management_token_alias>
708
708
  ```
709
709
 
710
- _See code: [src/commands/cm/stacks/publish-configure.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-configure.js)_
710
+ _See code: [src/commands/cm/stacks/publish-configure.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-configure.js)_
711
711
 
712
712
  ## `csdx cm:stacks:publish-revert`
713
713
 
@@ -736,7 +736,7 @@ EXAMPLES
736
736
  cm:bulk-publish:revert --retry-failed [LOG FILE NAME]
737
737
  ```
738
738
 
739
- _See code: [src/commands/cm/stacks/publish-revert.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-revert.js)_
739
+ _See code: [src/commands/cm/stacks/publish-revert.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-revert.js)_
740
740
 
741
741
  ## `csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]`
742
742
 
@@ -814,5 +814,5 @@ EXAMPLES
814
814
  --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
815
815
  ```
816
816
 
817
- _See code: [src/commands/cm/stacks/unpublish.js](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-bulk-publish/src/commands/cm/stacks/unpublish.js)_
817
+ _See code: [src/commands/cm/stacks/unpublish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/unpublish.js)_
818
818
  <!-- commandsstop -->
@@ -1 +1 @@
1
- {"version":"1.0.1","commands":{"cm:assets:publish":{"id":"cm:assets:publish","description":"Publish assets to the specified environments\nThe assets command is used to publish assets from the specified stack, to the specified environments\n\nNote: Environment(s) and Locale(s) are required to execute the command successfully\nBut, if retryFailed flag is set, then only a logfile is required\n","usage":"cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>] [--bulk-publish <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>] [--source-env <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:assets"],"examples":["General Usage","csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:assets:publish --config [PATH TO CONFIG FILE]","csdx cm:assets:publish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:assets:publish --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]","","Using --source-env","csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed assets from the logfile (optional, will override all other flags)"},"environments":{"name":"environments","type":"option","char":"e","description":"Environments where assets will be published"},"folder-uid":{"name":"folder-uid","type":"option","description":"[default: cs_root] Folder-uid from where the assets will be published"},"bulk-publish":{"name":"bulk-publish","type":"option","description":"By default this flag is set as true. It indicates that contentstack's bulkpublish API will be used to publish the assets","default":"true"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locales":{"name":"locales","type":"option","char":"l","description":"Locales to where assets will be published"},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed assets from the logfile (optional, will override all other flags)","hidden":true},"folderUid":{"name":"folderUid","type":"option","char":"u","description":"[default: cs_root] Folder-uid from where the assets will be published","hidden":true},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"By default this flag is set as true. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"source-env":{"name":"source-env","type":"option","description":"Source environment"},"content-types":{"name":"content-types","type":"option","description":"Content types","hidden":true}},"args":[]},"cm:assets:unpublish":{"id":"cm:assets:unpublish","description":"Unpublish assets from given environment\nThe unpublish command is used for unpublishing assets from the given environment\n\nNote: Environment (Source Environment) and Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:assets:unpublish --bulk-unpublish --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure --alias [ALIAS]`","csdx cm:assets:unpublish --config [PATH TO CONFIG FILE]","csdx cm:assets:unpublish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:assets:unpublish --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:assets:unpublish --bulk-unpublish --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locale":{"name":"locale","type":"option","description":"Locale filter"},"branch":{"name":"branch","type":"option","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry unpublishing failed assets from the logfile"},"bulk-unpublish":{"name":"bulk-unpublish","type":"option","description":"By default this flag is set as true. It indicates that contentstack's bulkpublish API will be used to unpublish the assets","default":"true"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery Token for source environment"}},"args":[]},"cm:bulk-publish:cross-publish":{"id":"cm:bulk-publish:cross-publish","description":"Publish entries and assets from one environment to other environments\nThe cross-publish command is used to publish entries and assets from one environment to other environments\n\nNote: Content Type, Environment, Destination Environment(s) and Locale are required to execute the command successfully\nBut, if retryFailed flag is set, then only a logfile is required\n","usage":"cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type <value>] [--locales <value>] [--source-env <value>] [--environments <value>] [--delivery-token <value>] [-c <value>] [-y] [--branch <value>] [--onlyAssets] [--onlyEntries]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] -a [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`","csdx cm:bulk-publish:cross-publish --config [PATH TO CONFIG FILE]","csdx cm:bulk-publish:cross-publish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:bulk-publish:cross-publish --retry-failed [LOG FILE NAME]","csdx cm:bulk-publish:cross-publish -r [LOG FILE NAME]","","Using --branch flag","csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] -a [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"(optional) Retry publishing failed entries from the logfile (this flag overrides all other flags)","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"(optional) Retry publishing failed entries from the logfile (this flag overrides all other flags)"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"contentType":{"name":"contentType","type":"option","char":"t","description":"The Content-Types from which entries need to be published","hidden":true},"content-type":{"name":"content-type","type":"option","description":"The Contenttypes from which entries will be published"},"locale":{"name":"locale","type":"option","char":"l","description":"Source locale","hidden":true},"locales":{"name":"locales","type":"option","description":"Source locale"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment","hidden":true},"source-env":{"name":"source-env","type":"option","description":"Source Env"},"destEnv":{"name":"destEnv","type":"option","char":"d","description":"Destination Environments","hidden":true},"environments":{"name":"environments","type":"option","description":"Destination Environments"},"deliveryToken":{"name":"deliveryToken","type":"option","char":"x","description":"Delivery token for source environment","hidden":true},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"onlyAssets":{"name":"onlyAssets","type":"boolean","description":"Unpublish only assets","allowNo":false},"onlyEntries":{"name":"onlyEntries","type":"boolean","description":"Unpublish only entries","allowNo":false}},"args":[]},"cm:bulk-publish":{"id":"cm:bulk-publish","description":"Bulk Publish script for managing entries and assets\n","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"flags":{},"args":[]},"cm:entries:publish-modified":{"id":"cm:entries:publish-modified","description":"Publish edited entries from a specified content type to the given locales and environments\nThe publish-modified command is used to publish entries from the specified content types, to the\nspecified environments and locales\n\nNote: Content type(s), Source Environment, Destination Environment(s) and Locale(s) are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:entry-edits"],"examples":["General Usage","csdx cm:entries:publish-modified --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --source-env [SOURCE_ENV] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:entries:publish-modified --config [PATH TO CONFIG FILE]","csdx cm:entries:publish-modified -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:publish-modified --retry-failed [LOG FILE NAME]","csdx cm:entries:publish-modified -r [LOG FILE NAME]","","Using --branch","csdx cm:entries:publish-modified --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --source-env [SOURCE_ENV] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"sourceEnv":{"name":"sourceEnv","type":"option","char":"s","description":"Environment from which edited entries will be published","hidden":true},"source-env":{"name":"source-env","type":"option","description":"Environment from which edited entries will be published"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Content-Types which will be checked for edited entries","hidden":true},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes which will be checked for edited entries"},"locales":{"name":"locales","type":"option","char":"l","description":"Locales where edited entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Destination environments"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"}},"args":[]},"cm:entries:publish-non-localized-fields":{"id":"cm:entries:publish-non-localized-fields","description":"Publish non-localized fields for the given content types, from a particular source environment to the specified environments\nThe non-localized field changes command is used to publish non-localized field changes from the given content types to the specified environments\n\nNote: Content types, Environments and Source Environment are required to execute this command successfully.\nBut, if retryFailed flag is set, then only a logfile is required","usage":"cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:nonlocalized-field-changes"],"examples":["General Usage","csdx cm:entries:publish-non-localized-fields --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENV]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`","csdx cm:entries:publish-non-localized-fields --config [PATH TO CONFIG FILE]","csdx cm:entries:publish-non-localized-fields -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:entries:publish-non-localized-fields --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:entries:publish-non-localized-fields --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENV] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile"},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"source-env":{"name":"source-env","type":"option","description":"Source Environment"},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Destination environments"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile","hidden":true},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"sourceEnv":{"name":"sourceEnv","type":"option","char":"s","description":"Source Environment","hidden":true},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The contenttypes from which entries will be published","hidden":true}},"args":[]},"cm:entries:publish-only-unpublished":{"id":"cm:entries:publish-only-unpublished","description":"Publish unpublished entries from the source environment, to other environments and locales\nThe publish-only-unpublished command is used to publish unpublished entries from the source environment, to other environments and locales\n\nNote: Content type(s), Source Environment, Destination Environment(s) and Source Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:unpublished-entries"],"examples":["General Usage","csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] -source-env [SOURCE ENV]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`","csdx cm:entries:publish-only-unpublished --config [PATH TO CONFIG FILE]","csdx cm:entries:publish-only-unpublished -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:publish-only-unpublished --retry-failed [LOG FILE NAME]","","Using --branch","csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME] -source-env [SOURCE ENV]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"bulk-publish":{"name":"bulk-publish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"sourceEnv":{"name":"sourceEnv","type":"option","char":"s","description":"Source Env","hidden":true},"source-env":{"name":"source-env","type":"option","description":"Source Env"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Content-Types from which entries need to be published","hidden":true},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries will be published"},"locale":{"name":"locale","type":"option","char":"l","description":"Source locale","hidden":true},"locales":{"name":"locales","type":"option","description":"Source locale"},"environments":{"name":"environments","type":"option","char":"e","description":"Destination environments"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"}},"args":[]},"cm:entries:publish":{"id":"cm:entries:publish","description":"Publish entries from multiple contenttypes to multiple environments and locales\nThe publish command is used to publish entries from the specified content types, to the\nspecified environments and locales \n\nNote: Content Types, Environments and Locales are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token <value>] [--source-env <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:entries"],"examples":["General Usage","csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:entries:publish --config [PATH TO CONFIG FILE]","csdx cm:entries:publish -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:publish --retry-failed [LOG FILE NAME]","csdx cm:entries:publish -r [LOG FILE NAME]","","Using --branch","csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]","","Using --source-env","csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry failed entries from the logfile (optional, overrides all other flags) This flag is used to retry publishing entries that failed to publish in a previous attempt. A log file for the previous session will be required for processing the failed entries","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"(optional) Retry failed entries from the logfile (overrides all other flags) This flag is used to retry publishing entries that failed to publish in a previous attempt. A log file for the previous session will be required for processing the failed entries"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"publish-all-content-types":{"name":"publish-all-content-types","type":"boolean","description":"(optional) Publish all contenttypes (cannot be set when contentTypes flag is set)","allowNo":false},"publishAllContentTypes":{"name":"publishAllContentTypes","type":"boolean","char":"o","description":"Publish all content-types (optional, cannot be set when contentTypes flag is set)","hidden":true,"allowNo":false},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries need to be published"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Contenttypes from which entries will be published","hidden":true},"locales":{"name":"locales","type":"option","char":"l","description":"Locales where entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Environments where entries will be published"},"config":{"name":"config","type":"option","char":"c","description":"Path for the external config file (A new config file can be generated at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`)"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"source-env":{"name":"source-env","type":"option","description":"Source environment"}},"args":[]},"cm:entries:unpublish":{"id":"cm:entries:unpublish","description":"Unpublish entries from the given environment\nThe unpublish command is used to unpublish entries from the given environment\n\nNote: Environment (Source Environment) and Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure --alias [ALIAS]`","csdx cm:stacks:unpublish --config [PATH TO CONFIG FILE]","csdx cm:stacks:unpublish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:stacks:unpublish --retry-failed [LOG FILE NAME]","","","Using --branch flag","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locale":{"name":"locale","type":"option","description":"Locale filter"},"branch":{"name":"branch","type":"option","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile"},"bulk-unpublish":{"name":"bulk-unpublish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to unpublish the entries","default":"true"},"content-type":{"name":"content-type","type":"option","description":"Content type filter"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"}},"args":[]},"cm:entries:update-and-publish":{"id":"cm:entries:update-and-publish","description":"Add fields from updated content types to their respective entries\nThe update-and-publish command is used to update existing entries with the updated schema of the respective content type\n\nNote: Content types, Environments and Locales are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:add-fields"],"examples":["General Usage","csdx cm:entries:update-and-publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locale [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:entries:update-and-publish --config [PATH TO CONFIG FILE]","csdx cm:entries:update-and-publish -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:update-and-publish --retry-failed [LOG FILE NAME]","","Using --branch","csdx cm:entries:update-and-publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locale [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)","hidden":true},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries will be published"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Contenttypes from which entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Environments where entries will be published"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locales":{"name":"locales","type":"option","char":"l","description":"Locales where entries will be published"},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"force":{"name":"force","type":"boolean","description":"Update and publish all entries even if no fields have been added","allowNo":false}},"args":[]},"cm:stacks:publish-clear-logs":{"id":"cm:stacks:publish-clear-logs","description":"Clear the log folder","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:clear"],"examples":["csdx cm:stacks:publish-clear-logs","csdx cm:stacks:publish-clear-logs --log-files-count","csdx cm:stacks:publish-clear-logs --yes","csdx cm:stacks:publish-clear-logs -y"],"flags":{"log-files-count":{"name":"log-files-count","type":"boolean","description":"List number of log files","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Delete all files without asking for confirmation","allowNo":false},"list":{"name":"list","type":"boolean","char":"l","description":"List number of log files","hidden":true,"allowNo":false}},"args":[]},"cm:stacks:publish-configure":{"id":"cm:stacks:publish-configure","description":"The configure command is used to generate a configuration file for publish scripts.","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:configure"],"examples":["csdx cm:stacks:publish-configure","csdx cm:stacks:publish-configure -a <management_token_alias>","csdx cm:stacks:publish-configure --alias <management_token_alias>"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"}},"args":[]},"cm:stacks:publish-revert":{"id":"cm:stacks:publish-revert","description":"Revert publish operations by using a log file\nThe revert command is used to revert all publish operations performed using bulk-publish script.\nA log file name is required to execute revert command\n","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:revert"],"examples":["Using --log-file","cm:bulk-publish:revert --log-file [LOG FILE NAME]","","Using --retry-failed","cm:bulk-publish:revert --retry-failed [LOG FILE NAME]"],"flags":{"retry-failed":{"name":"retry-failed","type":"option","description":"retry publishing failed entries from the logfile"},"log-file":{"name":"log-file","type":"option","description":"logfile to be used to revert"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"retry publishing failed entries from the logfile","hidden":true},"logFile":{"name":"logFile","type":"option","char":"l","description":"logfile to be used to revert","hidden":true}},"args":[]},"cm:stacks:publish":{"id":"cm:stacks:publish","description":"Publish entries and assets to multiple environments and locales\nThe publish command is used to publish entries and assets, to the specified environments and locales.\n\nNote: Content types, Environments and Locales are required to execute the publish entries command successfully.\nNote: Environments and Locales are required to execute the publish assets command successfully.\nBut, if retry-failed flag is set, then only a logfile is required","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file in the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:stacks:publish --config [PATH TO CONFIG FILE]","csdx cm:stacks:publish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:stacks:publish --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]"],"flags":{},"args":[]},"cm:stacks:unpublish":{"id":"cm:stacks:unpublish","description":"Unpublish entries or assets of given content types from the specified environment\nThe unpublish command is used to unpublish entries or assets from given environment\n\nEnvironment (Source Environment) and Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n\nA content type can be specified for unpublishing entries, but if no content-type(s) is/are specified and --only-assets is not used,\nthen all entries from all content types will be unpublished from the source environment\n\nNote: --only-assets can be used to unpublish only assets and --only-entries can be used to unpublish only entries.\n(--only-assets and --only-entries cannot be used together at the same time)\n","usage":"csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:unpublish"],"examples":["General Usage","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] ----delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure --alias [ALIAS]`","csdx cm:stacks:unpublish --config [PATH TO CONFIG FILE]","csdx cm:stacks:unpublish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:stacks:unpublish --retry-failed [LOG FILE NAME]","","No content type","csdx cm:stacks:unpublish --environment [SOURCE ENV] --locale [LOCALE] (Will unpublish all entries from all content types and assets from the source environment)","","Using --only-assets","csdx cm:stacks:unpublish --environment [SOURCE ENV] --locale [LOCALE] --only-assets (Will unpublish only assets from the source environment)","","Using --only-entries","csdx cm:stacks:unpublish --environment [SOURCE ENV] --locale [LOCALE] --only-entries (Will unpublish only entries, all entries, from the source environment)","csdx cm:stacks:unpublish --contentType [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --only-entries (Will unpublish only entries, (from CONTENT TYPE) from the source environment)","","Using --branch flag","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locale":{"name":"locale","type":"option","char":"l","description":"Locale filter"},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content from (default is main branch)","default":"main"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)"},"bulk-unpublish":{"name":"bulk-unpublish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to unpublish the entries and assets","default":"true"},"content-type":{"name":"content-type","type":"option","description":"Content type filter"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"only-assets":{"name":"only-assets","type":"boolean","description":"Unpublish only assets","hidden":true,"allowNo":false},"only-entries":{"name":"only-entries","type":"boolean","description":"Unpublish only entries","hidden":true,"allowNo":false},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile","hidden":true},"bulkUnpublish":{"name":"bulkUnpublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used for publishing the entries","hidden":true,"default":"true"},"contentType":{"name":"contentType","type":"option","char":"t","description":"Content Type filter","hidden":true},"deliveryToken":{"name":"deliveryToken","type":"option","char":"x","description":"Delivery Token for source environment","hidden":true},"onlyAssets":{"name":"onlyAssets","type":"boolean","description":"Unpublish only assets","hidden":true,"allowNo":false},"onlyEntries":{"name":"onlyEntries","type":"boolean","description":"Unpublish only entries","hidden":true,"allowNo":false}},"args":[]}}}
1
+ {"version":"1.0.3","commands":{"cm:assets:publish":{"id":"cm:assets:publish","description":"Publish assets to the specified environments\nThe assets command is used to publish assets from the specified stack, to the specified environments\n\nNote: Environment(s) and Locale(s) are required to execute the command successfully\nBut, if retryFailed flag is set, then only a logfile is required\n","usage":"cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>] [--bulk-publish <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>] [--source-env <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:assets"],"examples":["General Usage","csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:assets:publish --config [PATH TO CONFIG FILE]","csdx cm:assets:publish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:assets:publish --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]","","Using --source-env","csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed assets from the logfile (optional, will override all other flags)"},"environments":{"name":"environments","type":"option","char":"e","description":"Environments where assets will be published"},"folder-uid":{"name":"folder-uid","type":"option","description":"[default: cs_root] Folder-uid from where the assets will be published"},"bulk-publish":{"name":"bulk-publish","type":"option","description":"By default this flag is set as true. It indicates that contentstack's bulkpublish API will be used to publish the assets","default":"true"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locales":{"name":"locales","type":"option","char":"l","description":"Locales to where assets will be published"},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed assets from the logfile (optional, will override all other flags)","hidden":true},"folderUid":{"name":"folderUid","type":"option","char":"u","description":"[default: cs_root] Folder-uid from where the assets will be published","hidden":true},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"By default this flag is set as true. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"source-env":{"name":"source-env","type":"option","description":"Source environment"},"content-types":{"name":"content-types","type":"option","description":"Content types","hidden":true}},"args":[]},"cm:assets:unpublish":{"id":"cm:assets:unpublish","description":"Unpublish assets from given environment\nThe unpublish command is used for unpublishing assets from the given environment\n\nNote: Environment (Source Environment) and Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:assets:unpublish --bulk-unpublish --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure --alias [ALIAS]`","csdx cm:assets:unpublish --config [PATH TO CONFIG FILE]","csdx cm:assets:unpublish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:assets:unpublish --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:assets:unpublish --bulk-unpublish --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locale":{"name":"locale","type":"option","description":"Locale filter"},"branch":{"name":"branch","type":"option","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry unpublishing failed assets from the logfile"},"bulk-unpublish":{"name":"bulk-unpublish","type":"option","description":"By default this flag is set as true. It indicates that contentstack's bulkpublish API will be used to unpublish the assets","default":"true"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery Token for source environment"}},"args":[]},"cm:bulk-publish:cross-publish":{"id":"cm:bulk-publish:cross-publish","description":"Publish entries and assets from one environment to other environments\nThe cross-publish command is used to publish entries and assets from one environment to other environments\n\nNote: Content Type, Environment, Destination Environment(s) and Locale are required to execute the command successfully\nBut, if retryFailed flag is set, then only a logfile is required\n","usage":"cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type <value>] [--locales <value>] [--source-env <value>] [--environments <value>] [--delivery-token <value>] [-c <value>] [-y] [--branch <value>] [--onlyAssets] [--onlyEntries]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] -a [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`","csdx cm:bulk-publish:cross-publish --config [PATH TO CONFIG FILE]","csdx cm:bulk-publish:cross-publish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:bulk-publish:cross-publish --retry-failed [LOG FILE NAME]","csdx cm:bulk-publish:cross-publish -r [LOG FILE NAME]","","Using --branch flag","csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] -a [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"(optional) Retry publishing failed entries from the logfile (this flag overrides all other flags)","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"(optional) Retry publishing failed entries from the logfile (this flag overrides all other flags)"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"contentType":{"name":"contentType","type":"option","char":"t","description":"The Content-Types from which entries need to be published","hidden":true},"content-type":{"name":"content-type","type":"option","description":"The Contenttypes from which entries will be published"},"locale":{"name":"locale","type":"option","char":"l","description":"Source locale","hidden":true},"locales":{"name":"locales","type":"option","description":"Source locale"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment","hidden":true},"source-env":{"name":"source-env","type":"option","description":"Source Env"},"destEnv":{"name":"destEnv","type":"option","char":"d","description":"Destination Environments","hidden":true},"environments":{"name":"environments","type":"option","description":"Destination Environments"},"deliveryToken":{"name":"deliveryToken","type":"option","char":"x","description":"Delivery token for source environment","hidden":true},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"onlyAssets":{"name":"onlyAssets","type":"boolean","description":"Unpublish only assets","allowNo":false},"onlyEntries":{"name":"onlyEntries","type":"boolean","description":"Unpublish only entries","allowNo":false}},"args":[]},"cm:bulk-publish":{"id":"cm:bulk-publish","description":"Bulk Publish script for managing entries and assets\n","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"flags":{},"args":[]},"cm:entries:publish-modified":{"id":"cm:entries:publish-modified","description":"Publish edited entries from a specified content type to the given locales and environments\nThe publish-modified command is used to publish entries from the specified content types, to the\nspecified environments and locales\n\nNote: Content type(s), Source Environment, Destination Environment(s) and Locale(s) are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:entry-edits"],"examples":["General Usage","csdx cm:entries:publish-modified --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --source-env [SOURCE_ENV] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:entries:publish-modified --config [PATH TO CONFIG FILE]","csdx cm:entries:publish-modified -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:publish-modified --retry-failed [LOG FILE NAME]","csdx cm:entries:publish-modified -r [LOG FILE NAME]","","Using --branch","csdx cm:entries:publish-modified --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --source-env [SOURCE_ENV] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"sourceEnv":{"name":"sourceEnv","type":"option","char":"s","description":"Environment from which edited entries will be published","hidden":true},"source-env":{"name":"source-env","type":"option","description":"Environment from which edited entries will be published"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Content-Types which will be checked for edited entries","hidden":true},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes which will be checked for edited entries"},"locales":{"name":"locales","type":"option","char":"l","description":"Locales where edited entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Destination environments"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"}},"args":[]},"cm:entries:publish-non-localized-fields":{"id":"cm:entries:publish-non-localized-fields","description":"Publish non-localized fields for the given content types, from a particular source environment to the specified environments\nThe non-localized field changes command is used to publish non-localized field changes from the given content types to the specified environments\n\nNote: Content types, Environments and Source Environment are required to execute this command successfully.\nBut, if retryFailed flag is set, then only a logfile is required","usage":"cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:nonlocalized-field-changes"],"examples":["General Usage","csdx cm:entries:publish-non-localized-fields --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENV]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`","csdx cm:entries:publish-non-localized-fields --config [PATH TO CONFIG FILE]","csdx cm:entries:publish-non-localized-fields -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:entries:publish-non-localized-fields --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:entries:publish-non-localized-fields --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENV] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile"},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"source-env":{"name":"source-env","type":"option","description":"Source Environment"},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Destination environments"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile","hidden":true},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"sourceEnv":{"name":"sourceEnv","type":"option","char":"s","description":"Source Environment","hidden":true},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The contenttypes from which entries will be published","hidden":true}},"args":[]},"cm:entries:publish-only-unpublished":{"id":"cm:entries:publish-only-unpublished","description":"Publish unpublished entries from the source environment, to other environments and locales\nThe publish-only-unpublished command is used to publish unpublished entries from the source environment, to other environments and locales\n\nNote: Content type(s), Source Environment, Destination Environment(s) and Source Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:unpublished-entries"],"examples":["General Usage","csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] -source-env [SOURCE ENV]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`","csdx cm:entries:publish-only-unpublished --config [PATH TO CONFIG FILE]","csdx cm:entries:publish-only-unpublished -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:publish-only-unpublished --retry-failed [LOG FILE NAME]","","Using --branch","csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME] -source-env [SOURCE ENV]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true,"default":"true"},"bulk-publish":{"name":"bulk-publish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"sourceEnv":{"name":"sourceEnv","type":"option","char":"s","description":"Source Env","hidden":true},"source-env":{"name":"source-env","type":"option","description":"Source Env"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Content-Types from which entries need to be published","hidden":true},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries will be published"},"locale":{"name":"locale","type":"option","char":"l","description":"Source locale","hidden":true},"locales":{"name":"locales","type":"option","description":"Source locale"},"environments":{"name":"environments","type":"option","char":"e","description":"Destination environments"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"}},"args":[]},"cm:entries:publish":{"id":"cm:entries:publish","description":"Publish entries from multiple contenttypes to multiple environments and locales\nThe publish command is used to publish entries from the specified content types, to the\nspecified environments and locales \n\nNote: Content Types, Environments and Locales are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token <value>] [--source-env <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:entries"],"examples":["General Usage","csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:entries:publish --config [PATH TO CONFIG FILE]","csdx cm:entries:publish -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:publish --retry-failed [LOG FILE NAME]","csdx cm:entries:publish -r [LOG FILE NAME]","","Using --branch","csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]","","Using --source-env","csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry failed entries from the logfile (optional, overrides all other flags) This flag is used to retry publishing entries that failed to publish in a previous attempt. A log file for the previous session will be required for processing the failed entries","hidden":true},"retry-failed":{"name":"retry-failed","type":"option","description":"(optional) Retry failed entries from the logfile (overrides all other flags) This flag is used to retry publishing entries that failed to publish in a previous attempt. A log file for the previous session will be required for processing the failed entries"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"publish-all-content-types":{"name":"publish-all-content-types","type":"boolean","description":"(optional) Publish all contenttypes (cannot be set when contentTypes flag is set)","allowNo":false},"publishAllContentTypes":{"name":"publishAllContentTypes","type":"boolean","char":"o","description":"Publish all content-types (optional, cannot be set when contentTypes flag is set)","hidden":true,"allowNo":false},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries need to be published"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Contenttypes from which entries will be published","hidden":true},"locales":{"name":"locales","type":"option","char":"l","description":"Locales where entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Environments where entries will be published"},"config":{"name":"config","type":"option","char":"c","description":"Path for the external config file (A new config file can be generated at the current working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`)"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"source-env":{"name":"source-env","type":"option","description":"Source environment"}},"args":[]},"cm:entries:unpublish":{"id":"cm:entries:unpublish","description":"Unpublish entries from the given environment\nThe unpublish command is used to unpublish entries from the given environment\n\nNote: Environment (Source Environment) and Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure --alias [ALIAS]`","csdx cm:stacks:unpublish --config [PATH TO CONFIG FILE]","csdx cm:stacks:unpublish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:stacks:unpublish --retry-failed [LOG FILE NAME]","","","Using --branch flag","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locale":{"name":"locale","type":"option","description":"Locale filter"},"branch":{"name":"branch","type":"option","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile"},"bulk-unpublish":{"name":"bulk-unpublish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to unpublish the entries","default":"true"},"content-type":{"name":"content-type","type":"option","description":"Content type filter"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"}},"args":[]},"cm:entries:update-and-publish":{"id":"cm:entries:update-and-publish","description":"Add fields from updated content types to their respective entries\nThe update-and-publish command is used to update existing entries with the updated schema of the respective content type\n\nNote: Content types, Environments and Locales are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n","usage":"cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:add-fields"],"examples":["General Usage","csdx cm:entries:update-and-publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locale [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:entries:update-and-publish --config [PATH TO CONFIG FILE]","csdx cm:entries:update-and-publish -c [PATH TO CONFIG FILE]","","Using --retry-failed","csdx cm:entries:update-and-publish --retry-failed [LOG FILE NAME]","","Using --branch","csdx cm:entries:update-and-publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locale [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)","hidden":true},"bulk-publish":{"name":"bulk-publish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","default":"true"},"bulkPublish":{"name":"bulkPublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to publish the entries","hidden":true},"content-types":{"name":"content-types","type":"option","description":"The Contenttypes from which entries will be published"},"contentTypes":{"name":"contentTypes","type":"option","char":"t","description":"The Contenttypes from which entries will be published"},"environments":{"name":"environments","type":"option","char":"e","description":"Environments where entries will be published"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locales":{"name":"locales","type":"option","char":"l","description":"Locales where entries will be published"},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content (by default the main branch is selected)","default":"main"},"force":{"name":"force","type":"boolean","description":"Update and publish all entries even if no fields have been added","allowNo":false}},"args":[]},"cm:stacks:publish-clear-logs":{"id":"cm:stacks:publish-clear-logs","description":"Clear the log folder","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:clear"],"examples":["csdx cm:stacks:publish-clear-logs","csdx cm:stacks:publish-clear-logs --log-files-count","csdx cm:stacks:publish-clear-logs --yes","csdx cm:stacks:publish-clear-logs -y"],"flags":{"log-files-count":{"name":"log-files-count","type":"boolean","description":"List number of log files","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Delete all files without asking for confirmation","allowNo":false},"list":{"name":"list","type":"boolean","char":"l","description":"List number of log files","hidden":true,"allowNo":false}},"args":[]},"cm:stacks:publish-configure":{"id":"cm:stacks:publish-configure","description":"The configure command is used to generate a configuration file for publish scripts.","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:configure"],"examples":["csdx cm:stacks:publish-configure","csdx cm:stacks:publish-configure -a <management_token_alias>","csdx cm:stacks:publish-configure --alias <management_token_alias>"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"}},"args":[]},"cm:stacks:publish-revert":{"id":"cm:stacks:publish-revert","description":"Revert publish operations by using a log file\nThe revert command is used to revert all publish operations performed using bulk-publish script.\nA log file name is required to execute revert command\n","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:revert"],"examples":["Using --log-file","cm:bulk-publish:revert --log-file [LOG FILE NAME]","","Using --retry-failed","cm:bulk-publish:revert --retry-failed [LOG FILE NAME]"],"flags":{"retry-failed":{"name":"retry-failed","type":"option","description":"retry publishing failed entries from the logfile"},"log-file":{"name":"log-file","type":"option","description":"logfile to be used to revert"},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"retry publishing failed entries from the logfile","hidden":true},"logFile":{"name":"logFile","type":"option","char":"l","description":"logfile to be used to revert","hidden":true}},"args":[]},"cm:stacks:publish":{"id":"cm:stacks:publish","description":"Publish entries and assets to multiple environments and locales\nThe publish command is used to publish entries and assets, to the specified environments and locales.\n\nNote: Content types, Environments and Locales are required to execute the publish entries command successfully.\nNote: Environments and Locales are required to execute the publish assets command successfully.\nBut, if retry-failed flag is set, then only a logfile is required","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":[],"examples":["General Usage","csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS]","","Using --config or -c flag","Generate a config file in the current working directory using `csdx cm:stacks:publish-configure -a [ALIAS]`","csdx cm:stacks:publish --config [PATH TO CONFIG FILE]","csdx cm:stacks:publish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:stacks:publish --retry-failed [LOG FILE NAME]","","Using --branch flag","csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]"],"flags":{},"args":[]},"cm:stacks:unpublish":{"id":"cm:stacks:unpublish","description":"Unpublish entries or assets of given content types from the specified environment\nThe unpublish command is used to unpublish entries or assets from given environment\n\nEnvironment (Source Environment) and Locale are required to execute the command successfully\nBut, if retry-failed flag is set, then only a logfile is required\n\nA content type can be specified for unpublishing entries, but if no content-type(s) is/are specified and --only-assets is not used,\nthen all entries from all content types will be unpublished from the source environment\n\nNote: --only-assets can be used to unpublish only assets and --only-entries can be used to unpublish only entries.\n(--only-assets and --only-entries cannot be used together at the same time)\n","usage":"csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]","pluginName":"@contentstack/cli-cm-bulk-publish","pluginType":"core","aliases":["cm:bulk-publish:unpublish"],"examples":["General Usage","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] ----delivery-token [DELIVERY TOKEN]","","Using --config or -c flag","Generate a config file at the current working directory using `csdx cm:bulk-publish:configure --alias [ALIAS]`","csdx cm:stacks:unpublish --config [PATH TO CONFIG FILE]","csdx cm:stacks:unpublish -c [PATH TO CONFIG FILE]","","Using --retry-failed flag","csdx cm:stacks:unpublish --retry-failed [LOG FILE NAME]","","No content type","csdx cm:stacks:unpublish --environment [SOURCE ENV] --locale [LOCALE] (Will unpublish all entries from all content types and assets from the source environment)","","Using --only-assets","csdx cm:stacks:unpublish --environment [SOURCE ENV] --locale [LOCALE] --only-assets (Will unpublish only assets from the source environment)","","Using --only-entries","csdx cm:stacks:unpublish --environment [SOURCE ENV] --locale [LOCALE] --only-entries (Will unpublish only entries, all entries, from the source environment)","csdx cm:stacks:unpublish --contentType [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --only-entries (Will unpublish only entries, (from CONTENT TYPE) from the source environment)","","Using --branch flag","csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]"],"flags":{"alias":{"name":"alias","type":"option","char":"a","description":"Alias(name) for the management token"},"environment":{"name":"environment","type":"option","char":"e","description":"Source Environment"},"config":{"name":"config","type":"option","char":"c","description":"Path to the config file"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Agree to process the command with the current configuration","allowNo":false},"locale":{"name":"locale","type":"option","char":"l","description":"Locale filter"},"branch":{"name":"branch","type":"option","char":"B","description":"Specify the branch to fetch the content from (default is main branch)","default":"main"},"retry-failed":{"name":"retry-failed","type":"option","description":"Retry publishing failed entries from the logfile (optional, overrides all other flags)"},"bulk-unpublish":{"name":"bulk-unpublish","type":"option","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used to unpublish the entries and assets","default":"true"},"content-type":{"name":"content-type","type":"option","description":"Content type filter"},"delivery-token":{"name":"delivery-token","type":"option","description":"Delivery token for source environment"},"only-assets":{"name":"only-assets","type":"boolean","description":"Unpublish only assets","hidden":true,"allowNo":false},"only-entries":{"name":"only-entries","type":"boolean","description":"Unpublish only entries","hidden":true,"allowNo":false},"retryFailed":{"name":"retryFailed","type":"option","char":"r","description":"Retry publishing failed entries from the logfile","hidden":true},"bulkUnpublish":{"name":"bulkUnpublish","type":"option","char":"b","description":"This flag is set to true by default. It indicates that contentstack's bulkpublish API will be used for publishing the entries","hidden":true,"default":"true"},"contentType":{"name":"contentType","type":"option","char":"t","description":"Content Type filter","hidden":true},"deliveryToken":{"name":"deliveryToken","type":"option","char":"x","description":"Delivery Token for source environment","hidden":true},"onlyAssets":{"name":"onlyAssets","type":"boolean","description":"Unpublish only assets","hidden":true,"allowNo":false},"onlyEntries":{"name":"onlyEntries","type":"boolean","description":"Unpublish only entries","hidden":true,"allowNo":false}},"args":[]}}}
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-bulk-publish",
3
3
  "description": "Contentstack CLI plugin for bulk publish actions",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-command": "^1.0.1",
9
- "@contentstack/cli-utilities": "^1.0.2",
10
- "@contentstack/management": "^1.3.0",
8
+ "@contentstack/cli-command": "^1.0.3",
9
+ "@contentstack/cli-utilities": "^1.0.4",
10
+ "@contentstack/management": "^1.6.0",
11
11
  "@oclif/command": "^1.8.16",
12
12
  "@oclif/config": "^1.18.3",
13
13
  "bluebird": "^3.7.2",
14
14
  "lodash": "^4.17.15",
15
15
  "nock": "^13.0.2",
16
16
  "winston": "^3.7.2",
17
- "inquirer": "^8.0.0"
17
+ "inquirer": "8.2.4"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@oclif/dev-cli": "^1.22.2",
@@ -25,7 +25,7 @@
25
25
  "eslint-config-oclif": "^3.1.0",
26
26
  "globby": "^10.0.2",
27
27
  "mocha": "^10.0.0",
28
- "nyc": "^14.1.1"
28
+ "nyc": "^15.1.0"
29
29
  },
30
30
  "engines": {
31
31
  "node": ">=8.0.0"
@@ -52,7 +52,7 @@
52
52
  "hooks": {
53
53
  "validateConfig": "./src/hooks/config.js"
54
54
  },
55
- "repositoryPrefix": "<%- repo %>/blob/v<%- version %>/packages/contentstack-bulk-publish/<%- commandPath %>"
55
+ "repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-bulk-publish/<%- commandPath %>"
56
56
  },
57
57
  "csdxConfig": {
58
58
  "expiredCommands": {
@@ -77,4 +77,4 @@
77
77
  "posttest": "eslint .",
78
78
  "version": "oclif-dev readme && git add README.md"
79
79
  }
80
- }
80
+ }
@@ -112,36 +112,36 @@ class CrossPublishCommand extends Command {
112
112
  return cliux.confirm('Do you want to continue with this configuration ? [yes or no]');
113
113
  }
114
114
 
115
- flagsAdapter(flags) {
116
- if ('content-type' in flags) {
117
- flags.contentType = flags['content-type'];
118
- delete flags['content-type'];
115
+ flagsAdapter(_flags) {
116
+ if ('content-type' in _flags) {
117
+ _flags.contentType = _flags['content-type'];
118
+ delete _flags['content-type'];
119
119
  }
120
- if ('locales' in flags) {
121
- flags.locale = flags.locales;
122
- delete flags['locales'];
120
+ if ('locales' in _flags) {
121
+ _flags.locale = _flags.locales;
122
+ delete _flags['locales'];
123
123
  }
124
- if ('retry-failed' in flags) {
125
- flags.retryFailed = flags['retry-failed'];
126
- delete flags['retry-failed'];
124
+ if ('retry-failed' in _flags) {
125
+ _flags.retryFailed = _flags['retry-failed'];
126
+ delete _flags['retry-failed'];
127
127
  }
128
- if ('bulk-publish' in flags) {
129
- flags.bulkPublish = flags['bulk-publish'];
130
- delete flags['bulk-publish'];
128
+ if ('bulk-publish' in _flags) {
129
+ _flags.bulkPublish = _flags['bulk-publish'];
130
+ delete _flags['bulk-publish'];
131
131
  }
132
- if ('source-env' in flags) {
133
- flags.environment = flags['source-env'];
134
- delete flags['source-env'];
132
+ if ('source-env' in _flags) {
133
+ _flags.environment = _flags['source-env'];
134
+ delete _flags['source-env'];
135
135
  }
136
- if ('environments' in flags) {
137
- flags.destEnv = flags['environments'];
138
- delete flags['environments'];
136
+ if ('environments' in _flags) {
137
+ _flags.destEnv = _flags['environments'];
138
+ delete _flags['environments'];
139
139
  }
140
- if ('delivery-token' in flags) {
141
- flags.deliveryToken = flags['delivery-token'];
142
- delete flags['delivery-token'];
140
+ if ('delivery-token' in _flags) {
141
+ _flags.deliveryToken = _flags['delivery-token'];
142
+ delete _flags['delivery-token'];
143
143
  }
144
- return flags;
144
+ return _flags;
145
145
  }
146
146
  }
147
147