@contentstack/cli-cm-bulk-publish 1.0.2 → 1.0.4
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 +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -10
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.
|
|
21
|
+
@contentstack/cli-cm-bulk-publish/1.0.4 linux-x64 node-v16.18.1
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.2","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.4","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,31 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-bulk-publish",
|
|
3
3
|
"description": "Contentstack CLI plugin for bulk publish actions",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@contentstack/cli-command": "^1.0.
|
|
9
|
-
"@contentstack/cli-utilities": "^1.0.
|
|
10
|
-
"@contentstack/management": "^1.
|
|
8
|
+
"@contentstack/cli-command": "^1.0.4",
|
|
9
|
+
"@contentstack/cli-utilities": "^1.0.5",
|
|
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": "
|
|
17
|
+
"inquirer": "8.2.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@oclif/dev-cli": "^1.22.2",
|
|
21
|
-
"@oclif/plugin-help": "^5.1.12",
|
|
22
21
|
"@oclif/test": "^1.2.6",
|
|
23
22
|
"chai": "^4.2.0",
|
|
24
23
|
"eslint": "^8.18.0",
|
|
25
24
|
"eslint-config-oclif": "^3.1.0",
|
|
26
25
|
"globby": "^10.0.2",
|
|
27
26
|
"mocha": "^10.0.0",
|
|
28
|
-
"nyc": "^
|
|
27
|
+
"nyc": "^15.1.0"
|
|
29
28
|
},
|
|
30
29
|
"engines": {
|
|
31
30
|
"node": ">=8.0.0"
|
|
@@ -46,9 +45,6 @@
|
|
|
46
45
|
"oclif": {
|
|
47
46
|
"commands": "./src/commands",
|
|
48
47
|
"bin": "csdx",
|
|
49
|
-
"devPlugins": [
|
|
50
|
-
"@oclif/plugin-help"
|
|
51
|
-
],
|
|
52
48
|
"hooks": {
|
|
53
49
|
"validateConfig": "./src/hooks/config.js"
|
|
54
50
|
},
|