@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish
1818$ csdx COMMAND
1919running command...
2020$ csdx (--version)
21- @contentstack/cli-cm-bulk-publish/1.3.3 darwin-arm64 node-v18.15.0
21+ @contentstack/cli-cm-bulk-publish/1.3.4 darwin-arm64 node-v18.15.0
2222$ csdx --help [COMMAND]
2323USAGE
2424 $ csdx COMMAND
7272 -e, --environments=<value>... Environments where assets will be published
7373 -l, --locales=<value>... Locales to where assets will be published
7474 -y, --yes Agree to process the command with the current configuration
75+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
7576 --bulk-publish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
7677 bulkpublish API will be used to publish the assets
7778 --delivery-token=<value> Delivery token for source environment
@@ -134,13 +135,14 @@ Unpublish assets from given environment
134135```
135136USAGE
136137 $ csdx cm:assets:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>]
137- [--retry-failed <value>] [--bulk-unpublish <value>] [--delivery-token <value>]
138+ [--retry-failed <value>] [--bulk-unpublish <value>] [--api-version <value>] [-- delivery-token <value>]
138139
139140FLAGS
140141 -a, --alias=<value> Alias(name) for the management token
141142 -c, --config=<value> Path to the config file
142143 -e, --environment=<value> Source Environment
143144 -y, --yes Agree to process the command with the current configuration
145+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
144146 --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
145147 selected)
146148 --bulk-unpublish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
@@ -218,6 +220,7 @@ FLAGS
218220 -l, --locales=<value>... Locales where entries will be published
219221 -t, --contentTypes=<value>... The Contenttypes from which entries will be published
220222 -y, --yes Agree to process the command with the current configuration
223+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
221224 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
222225 bulkpublish API will be used to publish the entries
223226 --content-types=<value>... The Contenttypes from which entries will be published
@@ -281,6 +284,7 @@ FLAGS
281284 -e, --environments=<value>... Environments where assets will be published
282285 -l, --locales=<value>... Locales to where assets will be published
283286 -y, --yes Agree to process the command with the current configuration
287+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
284288 --bulk-publish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
285289 bulkpublish API will be used to publish the assets
286290 --delivery-token=<value> Delivery token for source environment
@@ -403,6 +407,7 @@ FLAGS
403407 -a, --alias=<value> Alias(name) for the management token
404408 -c, --config=<value> Path to the config file
405409 -y, --yes Agree to process the command with the current configuration
410+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
406411 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
407412 bulkpublish API will be used to publish the entries
408413 --content-type=<value>... The Contenttypes from which entries will be published
@@ -475,6 +480,7 @@ FLAGS
475480 -e, --environments=<value>... Environments where entries will be published
476481 -l, --locales=<value>... Locales where entries will be published
477482 -y, --yes Agree to process the command with the current configuration
483+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
478484 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
479485 bulkpublish API will be used to publish the entries
480486 --content-types=<value>... The Contenttypes from which entries need to be published
@@ -550,6 +556,7 @@ FLAGS
550556 -e, --environments=<value>... Destination environments
551557 -l, --locales=<value>... Locales where edited entries will be published
552558 -y, --yes Agree to process the command with the current configuration
559+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
553560 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
554561 bulkpublish API will be used to publish the entries
555562 --content-types=<value>... The Contenttypes which will be checked for edited entries
@@ -615,6 +622,7 @@ FLAGS
615622 -c, --config=<value> Path to the config file
616623 -e, --environments=<value>... Destination environments
617624 -y, --yes Agree to process the command with the current configuration
625+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
618626 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
619627 bulkpublish API will be used to publish the entries
620628 --content-types=<value>... The Contenttypes from which entries will be published
@@ -711,6 +719,7 @@ FLAGS
711719 -e, --environment=<value> Source Environment
712720 -l, --locale=<value> Locale filter
713721 -y, --yes Agree to process the command with the current configuration
722+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
714723 --bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
715724 bulkpublish API will be used to unpublish the entries and assets
716725 --content-type=<value> Content type filter
@@ -802,6 +811,7 @@ FLAGS
802811 -c, --config=<value> Path to the config file
803812 -e, --environments=<value>... Destination environments
804813 -y, --yes Agree to process the command with the current configuration
814+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
805815 --content-types=<value>... The Contenttypes from which entries will be published
806816 --locales=<value> Source locale
807817 --retry-failed=<value> Retry publishing failed entries from the logfile
@@ -867,6 +877,7 @@ FLAGS
867877 -e, --environments=<value>... Environments where entries will be published
868878 -l, --locales=<value>... Locales where entries will be published
869879 -y, --yes Agree to process the command with the current configuration
880+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
870881 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
871882 bulkpublish API will be used to publish the entries
872883 --content-types=<value>... The Contenttypes from which entries need to be published
@@ -944,6 +955,7 @@ FLAGS
944955 -e, --environments=<value>... Destination environments
945956 -l, --locales=<value>... Locales where edited entries will be published
946957 -y, --yes Agree to process the command with the current configuration
958+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
947959 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
948960 bulkpublish API will be used to publish the entries
949961 --content-types=<value>... The Contenttypes which will be checked for edited entries
@@ -1011,6 +1023,7 @@ FLAGS
10111023 -c, --config=<value> Path to the config file
10121024 -e, --environments=<value>... Destination environments
10131025 -y, --yes Agree to process the command with the current configuration
1026+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
10141027 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
10151028 bulkpublish API will be used to publish the entries
10161029 --content-types=<value>... The Contenttypes from which entries will be published
@@ -1078,6 +1091,7 @@ FLAGS
10781091 -c, --config=<value> Path to the config file
10791092 -e, --environments=<value>... Destination environments
10801093 -y, --yes Agree to process the command with the current configuration
1094+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
10811095 --content-types=<value>... The Contenttypes from which entries will be published
10821096 --locales=<value> Source locale
10831097 --retry-failed=<value> Retry publishing failed entries from the logfile
@@ -1133,13 +1147,15 @@ Unpublish entries from the given environment
11331147```
11341148USAGE
11351149 $ csdx cm:entries:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>]
1136- [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>]
1150+ [--retry-failed <value>] [--bulk-unpublish <value>] [--api-version <value>] [--content-type <value>]
1151+ [--delivery-token <value>]
11371152
11381153FLAGS
11391154 -a, --alias=<value> Alias(name) for the management token
11401155 -c, --config=<value> Path to the config file
11411156 -e, --environment=<value> Source Environment
11421157 -y, --yes Agree to process the command with the current configuration
1158+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
11431159 --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
11441160 selected)
11451161 --bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
@@ -1206,6 +1222,7 @@ FLAGS
12061222 -l, --locales=<value>... Locales where entries will be published
12071223 -t, --contentTypes=<value>... The Contenttypes from which entries will be published
12081224 -y, --yes Agree to process the command with the current configuration
1225+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
12091226 --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
12101227 bulkpublish API will be used to publish the entries
12111228 --content-types=<value>... The Contenttypes from which entries will be published
@@ -1296,6 +1313,12 @@ EXAMPLES
12961313 Using --branch flag
12971314
12981315 $ csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
1316+
1317+
1318+
1319+ Using --api-version flag
1320+
1321+ $ csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --api-version [API VERSION]
12991322```
13001323
13011324_ 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 ) _
@@ -1409,6 +1432,7 @@ FLAGS
14091432 -e, --environment=<value> Source Environment
14101433 -l, --locale=<value> Locale filter
14111434 -y, --yes Agree to process the command with the current configuration
1435+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
14121436 --bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
14131437 bulkpublish API will be used to unpublish the entries and assets
14141438 --content-type=<value> Content type filter
0 commit comments