@contentstack/cli-cm-bulk-publish 1.7.3 → 1.8.0
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 +383 -377
- package/package.json +5 -5
- package/src/commands/cm/assets/publish.js +20 -12
- package/src/commands/cm/assets/unpublish.js +10 -6
- package/src/commands/cm/bulk-publish/cross-publish.js +3 -5
- package/src/commands/cm/entries/publish-modified.js +37 -17
- package/src/commands/cm/entries/publish-non-localized-fields.js +20 -13
- package/src/commands/cm/entries/publish.js +26 -13
- package/src/commands/cm/entries/unpublish.js +12 -8
- package/src/commands/cm/entries/update-and-publish.js +19 -11
- package/src/commands/cm/stacks/publish-revert.js +7 -3
- package/src/services/publish-only-unpublished.js +1 -1
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 (--version)
|
|
21
|
-
@contentstack/cli-cm-bulk-publish/1.
|
|
21
|
+
@contentstack/cli-cm-bulk-publish/1.8.0 darwin-arm64 node-v22.14.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -33,7 +33,7 @@ USAGE
|
|
|
33
33
|
* [`csdx cm:assets:unpublish`](#csdx-cmassetsunpublish)
|
|
34
34
|
* [`csdx cm:bulk-publish`](#csdx-cmbulk-publish)
|
|
35
35
|
* [`csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value)
|
|
36
|
-
* [`csdx 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>]`](#csdx-cmassetspublish--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
|
|
36
|
+
* [`csdx 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>]`](#csdx-cmassetspublish--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)
|
|
37
37
|
* [`csdx cm:bulk-publish:clear`](#csdx-cmbulk-publishclear)
|
|
38
38
|
* [`csdx cm:bulk-publish:configure`](#csdx-cmbulk-publishconfigure)
|
|
39
39
|
* [`csdx cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type <value>] [--locales <value>] [--source-env <value>] [--environments <value>] [--delivery-token <value>] [-c <value>] [-y] [--branch <value>] [--onlyAssets] [--onlyEntries] [--include-variants]`](#csdx-cmbulk-publishcross-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---include-variants)
|
|
@@ -43,17 +43,17 @@ USAGE
|
|
|
43
43
|
* [`csdx cm:bulk-publish:revert`](#csdx-cmbulk-publishrevert)
|
|
44
44
|
* [`csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--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)
|
|
45
45
|
* [`csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-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)
|
|
46
|
-
* [`csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token <value>] [--source-env <value>] [--entry-uid <value>] [--include-variants]`](#csdx-cmentriespublish--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---entry-uid-value---include-variants
|
|
47
|
-
* [`csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value
|
|
48
|
-
* [`csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value
|
|
49
|
-
* [`csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-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
|
|
46
|
+
* [`csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token <value>] [--source-env <value>] [--entry-uid <value>] [--include-variants]`](#csdx-cmentriespublish--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---entry-uid-value---include-variants)
|
|
47
|
+
* [`csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value)
|
|
48
|
+
* [`csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value)
|
|
49
|
+
* [`csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]`](#csdx-cmentriespublish-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)
|
|
50
50
|
* [`csdx cm:entries:unpublish`](#csdx-cmentriesunpublish)
|
|
51
|
-
* [`csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value
|
|
51
|
+
* [`csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value)
|
|
52
52
|
* [`csdx cm:stacks:publish`](#csdx-cmstackspublish)
|
|
53
53
|
* [`csdx cm:stacks:publish-clear-logs`](#csdx-cmstackspublish-clear-logs)
|
|
54
54
|
* [`csdx cm:stacks:publish-configure`](#csdx-cmstackspublish-configure)
|
|
55
55
|
* [`csdx cm:stacks:publish-revert`](#csdx-cmstackspublish-revert)
|
|
56
|
-
* [`csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--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
|
|
56
|
+
* [`csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--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)
|
|
57
57
|
|
|
58
58
|
## `csdx 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>]`
|
|
59
59
|
|
|
@@ -79,16 +79,16 @@ FLAGS
|
|
|
79
79
|
-l, --locales=<value>... Locales in which assets will be published, e.g., en-us. In the case of multiple
|
|
80
80
|
locales, specify the codes separated by spaces.
|
|
81
81
|
-y, --yes Set it to true to process the command with the current configuration.
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
83
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
84
84
|
default.
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
86
|
+
--folder-uid=<value> (optional) The UID of the Assets’ folder from which the assets need to be published.
|
|
87
87
|
The default value is cs_root.
|
|
88
|
-
|
|
88
|
+
--retry-failed=<value> Use this option to retry publishing the failed assets from the logfile. Specify the
|
|
89
89
|
name of the logfile that lists failed publish calls. If this option is used, it will
|
|
90
90
|
override all other flags.
|
|
91
|
-
|
|
91
|
+
--source-env=<value> Source environment
|
|
92
92
|
|
|
93
93
|
DESCRIPTION
|
|
94
94
|
Publish assets to the specified environments
|
|
@@ -153,25 +153,25 @@ USAGE
|
|
|
153
153
|
<value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--api-version <value>] [--delivery-token <value>]
|
|
154
154
|
|
|
155
155
|
FLAGS
|
|
156
|
-
-a, --alias=<value>
|
|
157
|
-
|
|
158
|
-
-c, --config=<value>
|
|
159
|
-
|
|
160
|
-
-e, --environment=<value>
|
|
161
|
-
-k, --stack-api-key=<value>
|
|
162
|
-
|
|
163
|
-
-y, --yes
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
156
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
157
|
+
--stack-api-key flag.
|
|
158
|
+
-c, --config=<value> (optional) Path of an optional configuration JSON file containing all the options for a
|
|
159
|
+
single run. Refer to the configure command to create a configuration file.
|
|
160
|
+
-e, --environment=<value> The name of the environment from where entries/assets need to be unpublished.
|
|
161
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the --alias
|
|
162
|
+
flag.
|
|
163
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
164
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
165
|
+
--branch=<value> [default: main] The name of the branch where you want to perform the bulk unpublish
|
|
166
|
+
operation. If you don’t mention the branch name, then by default the content from the
|
|
167
|
+
main branch will be unpublished.
|
|
168
|
+
--bulk-unpublish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
169
|
+
default.
|
|
170
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
171
|
+
--locale=<value> Locale from which entries/assets will be unpublished, e.g., en-us.
|
|
172
|
+
--retry-failed=<value> (optional) Use this option to retry unpublishing the failed entries from the logfile.
|
|
173
|
+
Specify the name of the logfile that lists failed unpublish calls. If this option is
|
|
174
|
+
used, it will override all other flags.
|
|
175
175
|
|
|
176
176
|
DESCRIPTION
|
|
177
177
|
Unpublish assets from given environment
|
|
@@ -236,34 +236,34 @@ Add fields from updated content types to their respective entries
|
|
|
236
236
|
|
|
237
237
|
```
|
|
238
238
|
USAGE
|
|
239
|
-
$ csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
240
|
-
<value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]
|
|
239
|
+
$ csdx cm:bulk-publish:add-fields cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
240
|
+
[--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]
|
|
241
241
|
|
|
242
242
|
FLAGS
|
|
243
|
-
-B, --branch=<value>
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
-a, --alias=<value>
|
|
247
|
-
|
|
248
|
-
-c, --config=<value>
|
|
249
|
-
|
|
250
|
-
-e, --environments=<value>...
|
|
251
|
-
|
|
252
|
-
-k, --stack-api-key=<value>
|
|
253
|
-
|
|
254
|
-
-l, --locales=<value>...
|
|
255
|
-
|
|
256
|
-
-t, --contentTypes=<value>...
|
|
257
|
-
-y, --yes
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
243
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
244
|
+
operation. If you don’t mention the branch name, then by default the content from the
|
|
245
|
+
main branch will be published.
|
|
246
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
247
|
+
--stack-api-key flag.
|
|
248
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the options
|
|
249
|
+
for a single run. Refer to the configure command to create a configuration file.
|
|
250
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
251
|
+
environments, specify their names separated by spaces.
|
|
252
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
253
|
+
--alias flag.
|
|
254
|
+
-l, --locales=<value>... Locales in which entries will be published, e.g., en-us. In the case of multiple
|
|
255
|
+
locales, specify the codes separated by spaces.
|
|
256
|
+
-t, --contentTypes=<value>... The Contenttypes from which entries will be published.
|
|
257
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
258
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
259
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
260
|
+
default.
|
|
261
|
+
--content-types=<value>... The UID of the content type ID whose entries you want to publish in bulk. In case of
|
|
262
|
+
multiple content types, specify their IDs separated by spaces.
|
|
263
|
+
--force Update and publish all entries even if no fields have been added.
|
|
264
|
+
--retry-failed=<value> Use this option to retry publishing the failed entries from the logfile. Specify the
|
|
265
|
+
name of the logfile that lists failed publish calls. If this option is used, it will
|
|
266
|
+
override all other flags.
|
|
267
267
|
|
|
268
268
|
DESCRIPTION
|
|
269
269
|
Add fields from updated content types to their respective entries
|
|
@@ -317,8 +317,9 @@ Publish assets to the specified environments
|
|
|
317
317
|
|
|
318
318
|
```
|
|
319
319
|
USAGE
|
|
320
|
-
$ csdx cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>]
|
|
321
|
-
<value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>]
|
|
320
|
+
$ csdx cm:bulk-publish:assets cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>]
|
|
321
|
+
[--bulk-publish <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>]
|
|
322
|
+
[--source-env <value>]
|
|
322
323
|
|
|
323
324
|
FLAGS
|
|
324
325
|
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
@@ -335,16 +336,16 @@ FLAGS
|
|
|
335
336
|
-l, --locales=<value>... Locales in which assets will be published, e.g., en-us. In the case of multiple
|
|
336
337
|
locales, specify the codes separated by spaces.
|
|
337
338
|
-y, --yes Set it to true to process the command with the current configuration.
|
|
338
|
-
|
|
339
|
-
|
|
339
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
340
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
340
341
|
default.
|
|
341
|
-
|
|
342
|
-
|
|
342
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
343
|
+
--folder-uid=<value> (optional) The UID of the Assets’ folder from which the assets need to be published.
|
|
343
344
|
The default value is cs_root.
|
|
344
|
-
|
|
345
|
+
--retry-failed=<value> Use this option to retry publishing the failed assets from the logfile. Specify the
|
|
345
346
|
name of the logfile that lists failed publish calls. If this option is used, it will
|
|
346
347
|
override all other flags.
|
|
347
|
-
|
|
348
|
+
--source-env=<value> Source environment
|
|
348
349
|
|
|
349
350
|
DESCRIPTION
|
|
350
351
|
Publish assets to the specified environments
|
|
@@ -406,8 +407,8 @@ USAGE
|
|
|
406
407
|
$ csdx cm:bulk-publish:clear [--log-files-count] [-y]
|
|
407
408
|
|
|
408
409
|
FLAGS
|
|
409
|
-
-y, --yes
|
|
410
|
-
|
|
410
|
+
-y, --yes Delete all files without asking for confirmation
|
|
411
|
+
--log-files-count List number of log files
|
|
411
412
|
|
|
412
413
|
DESCRIPTION
|
|
413
414
|
Clear the log folder
|
|
@@ -461,30 +462,30 @@ Publish entries and assets from one environment to other environments
|
|
|
461
462
|
|
|
462
463
|
```
|
|
463
464
|
USAGE
|
|
464
|
-
$ csdx cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type
|
|
465
|
-
|
|
466
|
-
[
|
|
465
|
+
$ csdx cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type <value>]
|
|
466
|
+
[--locales <value>] [--source-env <value>] [--environments <value>] [--delivery-token <value>] [-c <value>] [-y]
|
|
467
|
+
[--branch <value>] [--onlyAssets] [--onlyEntries] [--include-variants]
|
|
467
468
|
|
|
468
469
|
FLAGS
|
|
469
|
-
-B, --branch=<value>
|
|
470
|
-
|
|
471
|
-
-a, --alias=<value>
|
|
472
|
-
-c, --config=<value>
|
|
473
|
-
-k, --stack-api-key=<value>
|
|
474
|
-
-y, --yes
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
470
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
471
|
+
selected)
|
|
472
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
473
|
+
-c, --config=<value> Path to the config file
|
|
474
|
+
-k, --stack-api-key=<value> Stack API key to be used
|
|
475
|
+
-y, --yes Agree to process the command with the current configuration
|
|
476
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
477
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
478
|
+
default.
|
|
479
|
+
--content-type=<value>... The Contenttypes from which entries will be published
|
|
480
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
481
|
+
--environments=<value>... Destination Environments
|
|
482
|
+
--include-variants Include Variants flag will publish all associated variant entries.
|
|
483
|
+
--locales=<value> Source locale
|
|
484
|
+
--onlyAssets Unpublish only assets
|
|
485
|
+
--onlyEntries Unpublish only entries
|
|
486
|
+
--retry-failed=<value> (optional) Retry publishing failed entries from the logfile (this flag overrides all
|
|
487
|
+
other flags)
|
|
488
|
+
--source-env=<value> Source Env
|
|
488
489
|
|
|
489
490
|
DESCRIPTION
|
|
490
491
|
Publish entries and assets from one environment to other environments
|
|
@@ -545,39 +546,40 @@ Publish entries from multiple contenttypes to multiple environments and locales
|
|
|
545
546
|
|
|
546
547
|
```
|
|
547
548
|
USAGE
|
|
548
|
-
$ csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
549
|
+
$ csdx cm:bulk-publish:entries cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
549
550
|
[--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
550
551
|
<value>] [--delivery-token <value>] [--source-env <value>] [--entry-uid <value>] [--include-variants]
|
|
551
552
|
|
|
552
553
|
FLAGS
|
|
553
|
-
-B, --branch=<value>
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
-a, --alias=<value>
|
|
557
|
-
|
|
558
|
-
-c, --config=<value>
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
554
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
555
|
+
operation. If you don’t mention the branch name, then by default the content from
|
|
556
|
+
main branch will be published.
|
|
557
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
558
|
+
--stack-api-key flag.
|
|
559
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the
|
|
560
|
+
options for a single run. Refer to the configure command to create a configuration
|
|
561
|
+
file.
|
|
562
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
563
|
+
environments, specify their names separated by spaces.
|
|
564
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
565
|
+
--alias flag.
|
|
566
|
+
-l, --locales=<value>... Locales in which entries will be published, e.g., en-us. In the case of multiple
|
|
567
|
+
locales, specify the codes separated by spaces.
|
|
568
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
569
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
570
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack's Bulk Publish APIs. This flag is
|
|
571
|
+
set to true, by default.
|
|
572
|
+
--content-types=<value>... The UID of the content type(s) whose entries you want to publish in bulk. In case of
|
|
573
|
+
multiple content types, specify the IDs separated by spaces.
|
|
574
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
575
|
+
--entry-uid=<value> Entry Uid for publish all associated variant entries.
|
|
576
|
+
--include-variants Include Variants flag will publish all associated variant entries with base entry.
|
|
577
|
+
--publish-all-content-types (optional) Set it to true to bulk publish entries from all content types. If the
|
|
578
|
+
--content-types option is already used, then you cannot use this option.
|
|
579
|
+
--retry-failed=<value> (optional) Use this option to retry publishing the failed entries/ assets from the
|
|
580
|
+
logfile. Specify the name of the logfile that lists failed publish calls. If this
|
|
581
|
+
option is used, it will override all other flags.
|
|
582
|
+
--source-env=<value> Source environment
|
|
581
583
|
|
|
582
584
|
DESCRIPTION
|
|
583
585
|
Publish entries from multiple contenttypes to multiple environments and locales
|
|
@@ -651,33 +653,34 @@ Publish edited entries from a specified content type to the given locales and en
|
|
|
651
653
|
|
|
652
654
|
```
|
|
653
655
|
USAGE
|
|
654
|
-
$ csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
655
|
-
<value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
656
|
+
$ csdx cm:bulk-publish:entry-edits cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
657
|
+
[--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
658
|
+
<value>]
|
|
656
659
|
|
|
657
660
|
FLAGS
|
|
658
|
-
-B, --branch=<value>
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
-a, --alias=<value>
|
|
662
|
-
|
|
663
|
-
-c, --config=<value>
|
|
664
|
-
|
|
665
|
-
-e, --environments=<value>...
|
|
666
|
-
|
|
667
|
-
-k, --stack-api-key=<value>
|
|
668
|
-
|
|
669
|
-
-l, --locales=<value>...
|
|
670
|
-
|
|
671
|
-
-y, --yes
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
661
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
662
|
+
operation. If you don't mention the branch name, then by default the entries from main
|
|
663
|
+
branch will be published.
|
|
664
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
665
|
+
--stack-api-key flag.
|
|
666
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the options
|
|
667
|
+
for a single run. Refer to the configure command to create a configuration file.
|
|
668
|
+
-e, --environments=<value>... The name of the environment(s) on which the entries will be published. In case of
|
|
669
|
+
multiple environments, specify their names separated by spaces.
|
|
670
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
671
|
+
--alias flag.
|
|
672
|
+
-l, --locales=<value>... Locales in which entries will be published, e.g., en-us. In the case of multiple
|
|
673
|
+
locales, specify the codes separated by spaces.
|
|
674
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
675
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
676
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack's Bulk Publish APIs. It is true, by
|
|
677
|
+
default.
|
|
678
|
+
--content-types=<value>... The UID of the content type(s) whose edited entries you want to publish in bulk. In
|
|
679
|
+
case of multiple content types, specify the IDs separated by spaces.
|
|
680
|
+
--retry-failed=<value> (optional) Use this option to retry publishing the failed entries/assets from the
|
|
681
|
+
logfile. Specify the name of the logfile that lists failed publish calls. If this
|
|
682
|
+
option is used, it will override all other flags
|
|
683
|
+
--source-env=<value> The name of the source environment where the entries were initially published.
|
|
681
684
|
|
|
682
685
|
DESCRIPTION
|
|
683
686
|
Publish edited entries from a specified content type to the given locales and environments
|
|
@@ -734,31 +737,32 @@ Publish non-localized fields for the given content types, from a particular sour
|
|
|
734
737
|
|
|
735
738
|
```
|
|
736
739
|
USAGE
|
|
737
|
-
$ csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>]
|
|
738
|
-
[--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
740
|
+
$ csdx cm:bulk-publish:nonlocalized-field-changes cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>]
|
|
741
|
+
[--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
742
|
+
<value>]
|
|
739
743
|
|
|
740
744
|
FLAGS
|
|
741
|
-
-B, --branch=<value>
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
-a, --alias=<value>
|
|
745
|
-
|
|
746
|
-
-c, --config=<value>
|
|
747
|
-
|
|
748
|
-
-e, --environments=<value>...
|
|
749
|
-
|
|
750
|
-
-k, --stack-api-key=<value>
|
|
751
|
-
|
|
752
|
-
-y, --yes
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
745
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
746
|
+
operation. If you don’t mention the branch name, then by default the content from the
|
|
747
|
+
main branch will be published.
|
|
748
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
749
|
+
--stack-api-key flag.
|
|
750
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the options
|
|
751
|
+
for a single run. Refer to the configure command to create a configuration file.
|
|
752
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
753
|
+
environments, specify their names separated by spaces.
|
|
754
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
755
|
+
--alias flag.
|
|
756
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
757
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
758
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
759
|
+
default.
|
|
760
|
+
--content-types=<value>... The UID of the content type whose entries you want to publish in bulk. In case of
|
|
761
|
+
multiple content types, specify their IDs separated by spaces.
|
|
762
|
+
--retry-failed=<value> Use this option to retry publishing the failed entries from the logfile. Specify the
|
|
763
|
+
name of the logfile that lists failed publish calls. If this option is used, it will
|
|
764
|
+
override all other flags.
|
|
765
|
+
--source-env=<value> The name of the source environment.
|
|
762
766
|
|
|
763
767
|
DESCRIPTION
|
|
764
768
|
Publish non-localized fields for the given content types, from a particular source environment to the specified
|
|
@@ -847,24 +851,24 @@ Unpublish entries or assets of given content types from the specified environmen
|
|
|
847
851
|
|
|
848
852
|
```
|
|
849
853
|
USAGE
|
|
850
|
-
$ csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>]
|
|
851
|
-
[--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token
|
|
852
|
-
[--only-assets] [--only-entries]
|
|
854
|
+
$ csdx cm:bulk-publish:unpublish csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>]
|
|
855
|
+
[--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token
|
|
856
|
+
<value>] [--only-assets] [--only-entries]
|
|
853
857
|
|
|
854
858
|
FLAGS
|
|
855
|
-
-B, --branch=<value>
|
|
856
|
-
-a, --alias=<value>
|
|
857
|
-
-c, --config=<value>
|
|
858
|
-
-e, --environment=<value>
|
|
859
|
-
-k, --stack-api-key=<value>
|
|
860
|
-
-l, --locale=<value>
|
|
861
|
-
-y, --yes
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
859
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content from (default is main branch)
|
|
860
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
861
|
+
-c, --config=<value> Path to the config file
|
|
862
|
+
-e, --environment=<value> Source Environment
|
|
863
|
+
-k, --stack-api-key=<value> Stack API key to be used
|
|
864
|
+
-l, --locale=<value> Locale filter
|
|
865
|
+
-y, --yes Agree to process the command with the current configuration
|
|
866
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
867
|
+
--bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
868
|
+
bulkpublish API will be used to unpublish the entries and assets
|
|
869
|
+
--content-type=<value> Content type filter
|
|
870
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
871
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
868
872
|
|
|
869
873
|
DESCRIPTION
|
|
870
874
|
Unpublish entries or assets of given content types from the specified environment
|
|
@@ -944,33 +948,34 @@ Publish unpublished entries from the source environment, to other environments a
|
|
|
944
948
|
|
|
945
949
|
```
|
|
946
950
|
USAGE
|
|
947
|
-
$ csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish
|
|
948
|
-
[--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y]
|
|
949
|
-
<value>]
|
|
951
|
+
$ csdx cm:bulk-publish:unpublished-entries cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish
|
|
952
|
+
<value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y]
|
|
953
|
+
[--branch <value>]
|
|
950
954
|
|
|
951
955
|
FLAGS
|
|
952
|
-
-B, --branch=<value>
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
-a, --alias=<value>
|
|
956
|
-
|
|
957
|
-
-b, --bulk-publish=<value>
|
|
958
|
-
|
|
959
|
-
-c, --config=<value>
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
956
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
957
|
+
operation. If you don't mention the branch name, then by default the entries from main
|
|
958
|
+
branch will be published.
|
|
959
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
960
|
+
--stack-api-key flag.
|
|
961
|
+
-b, --bulk-publish=<value> [default: true] Set this flag to use Contentstack's Bulk Publish APIs. It is true, by
|
|
962
|
+
default.
|
|
963
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the
|
|
964
|
+
options for a single run. Refer to the configure command to create a configuration
|
|
965
|
+
file.
|
|
966
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
967
|
+
environments, specify their names separated by spaces.
|
|
968
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
969
|
+
--alias flag.
|
|
970
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
971
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2]..
|
|
972
|
+
--content-types=<value>... The UID of the content type(s) whose entries you want to publish in bulk. In case of
|
|
973
|
+
multiple content types, specify their IDs separated by spaces.
|
|
974
|
+
--locales=<value> Locale in which entries will be published, e.g., en-us
|
|
975
|
+
--retry-failed=<value> (optional) Use this option to retry publishing the failed entries from the logfile. It
|
|
976
|
+
is optional. Specify the name of the logfile that lists failed publish calls. If this
|
|
977
|
+
option is used, it will override all other flags.
|
|
978
|
+
--source-env=<value> The name of the source environment where the entries were initially published.
|
|
974
979
|
|
|
975
980
|
DESCRIPTION
|
|
976
981
|
Publish unpublished entries from the source environment, to other environments and locales
|
|
@@ -1025,39 +1030,40 @@ Publish entries from multiple contenttypes to multiple environments and locales
|
|
|
1025
1030
|
|
|
1026
1031
|
```
|
|
1027
1032
|
USAGE
|
|
1028
|
-
$ csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1029
|
-
[--
|
|
1030
|
-
<value>] [--
|
|
1033
|
+
$ csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types]
|
|
1034
|
+
[--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token
|
|
1035
|
+
<value>] [--source-env <value>] [--entry-uid <value>] [--include-variants]
|
|
1031
1036
|
|
|
1032
1037
|
FLAGS
|
|
1033
|
-
-B, --branch=<value>
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
-a, --alias=<value>
|
|
1037
|
-
|
|
1038
|
-
-c, --config=<value>
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1038
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
1039
|
+
operation. If you don’t mention the branch name, then by default the content from
|
|
1040
|
+
main branch will be published.
|
|
1041
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
1042
|
+
--stack-api-key flag.
|
|
1043
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the
|
|
1044
|
+
options for a single run. Refer to the configure command to create a configuration
|
|
1045
|
+
file.
|
|
1046
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
1047
|
+
environments, specify their names separated by spaces.
|
|
1048
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
1049
|
+
--alias flag.
|
|
1050
|
+
-l, --locales=<value>... Locales in which entries will be published, e.g., en-us. In the case of multiple
|
|
1051
|
+
locales, specify the codes separated by spaces.
|
|
1052
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
1053
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1054
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack's Bulk Publish APIs. This flag is
|
|
1055
|
+
set to true, by default.
|
|
1056
|
+
--content-types=<value>... The UID of the content type(s) whose entries you want to publish in bulk. In case of
|
|
1057
|
+
multiple content types, specify the IDs separated by spaces.
|
|
1058
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
1059
|
+
--entry-uid=<value> Entry Uid for publish all associated variant entries.
|
|
1060
|
+
--include-variants Include Variants flag will publish all associated variant entries with base entry.
|
|
1061
|
+
--publish-all-content-types (optional) Set it to true to bulk publish entries from all content types. If the
|
|
1062
|
+
--content-types option is already used, then you cannot use this option.
|
|
1063
|
+
--retry-failed=<value> (optional) Use this option to retry publishing the failed entries/ assets from the
|
|
1064
|
+
logfile. Specify the name of the logfile that lists failed publish calls. If this
|
|
1065
|
+
option is used, it will override all other flags.
|
|
1066
|
+
--source-env=<value> Source environment
|
|
1061
1067
|
|
|
1062
1068
|
DESCRIPTION
|
|
1063
1069
|
Publish entries from multiple contenttypes to multiple environments and locales
|
|
@@ -1133,33 +1139,33 @@ Publish edited entries from a specified content type to the given locales and en
|
|
|
1133
1139
|
|
|
1134
1140
|
```
|
|
1135
1141
|
USAGE
|
|
1136
|
-
$ csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env
|
|
1137
|
-
|
|
1142
|
+
$ csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>]
|
|
1143
|
+
[--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]
|
|
1138
1144
|
|
|
1139
1145
|
FLAGS
|
|
1140
|
-
-B, --branch=<value>
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
-a, --alias=<value>
|
|
1144
|
-
|
|
1145
|
-
-c, --config=<value>
|
|
1146
|
-
|
|
1147
|
-
-e, --environments=<value>...
|
|
1148
|
-
|
|
1149
|
-
-k, --stack-api-key=<value>
|
|
1150
|
-
|
|
1151
|
-
-l, --locales=<value>...
|
|
1152
|
-
|
|
1153
|
-
-y, --yes
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1146
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
1147
|
+
operation. If you don't mention the branch name, then by default the entries from main
|
|
1148
|
+
branch will be published.
|
|
1149
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
1150
|
+
--stack-api-key flag.
|
|
1151
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the options
|
|
1152
|
+
for a single run. Refer to the configure command to create a configuration file.
|
|
1153
|
+
-e, --environments=<value>... The name of the environment(s) on which the entries will be published. In case of
|
|
1154
|
+
multiple environments, specify their names separated by spaces.
|
|
1155
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
1156
|
+
--alias flag.
|
|
1157
|
+
-l, --locales=<value>... Locales in which entries will be published, e.g., en-us. In the case of multiple
|
|
1158
|
+
locales, specify the codes separated by spaces.
|
|
1159
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
1160
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1161
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack's Bulk Publish APIs. It is true, by
|
|
1162
|
+
default.
|
|
1163
|
+
--content-types=<value>... The UID of the content type(s) whose edited entries you want to publish in bulk. In
|
|
1164
|
+
case of multiple content types, specify the IDs separated by spaces.
|
|
1165
|
+
--retry-failed=<value> (optional) Use this option to retry publishing the failed entries/assets from the
|
|
1166
|
+
logfile. Specify the name of the logfile that lists failed publish calls. If this
|
|
1167
|
+
option is used, it will override all other flags
|
|
1168
|
+
--source-env=<value> The name of the source environment where the entries were initially published.
|
|
1163
1169
|
|
|
1164
1170
|
DESCRIPTION
|
|
1165
1171
|
Publish edited entries from a specified content type to the given locales and environments
|
|
@@ -1218,31 +1224,31 @@ Publish non-localized fields for the given content types, from a particular sour
|
|
|
1218
1224
|
|
|
1219
1225
|
```
|
|
1220
1226
|
USAGE
|
|
1221
|
-
$ csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1222
|
-
[--
|
|
1227
|
+
$ csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>]
|
|
1228
|
+
[--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]
|
|
1223
1229
|
|
|
1224
1230
|
FLAGS
|
|
1225
|
-
-B, --branch=<value>
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
-a, --alias=<value>
|
|
1229
|
-
|
|
1230
|
-
-c, --config=<value>
|
|
1231
|
-
|
|
1232
|
-
-e, --environments=<value>...
|
|
1233
|
-
|
|
1234
|
-
-k, --stack-api-key=<value>
|
|
1235
|
-
|
|
1236
|
-
-y, --yes
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1231
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
1232
|
+
operation. If you don’t mention the branch name, then by default the content from the
|
|
1233
|
+
main branch will be published.
|
|
1234
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
1235
|
+
--stack-api-key flag.
|
|
1236
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the options
|
|
1237
|
+
for a single run. Refer to the configure command to create a configuration file.
|
|
1238
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
1239
|
+
environments, specify their names separated by spaces.
|
|
1240
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
1241
|
+
--alias flag.
|
|
1242
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
1243
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1244
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
1245
|
+
default.
|
|
1246
|
+
--content-types=<value>... The UID of the content type whose entries you want to publish in bulk. In case of
|
|
1247
|
+
multiple content types, specify their IDs separated by spaces.
|
|
1248
|
+
--retry-failed=<value> Use this option to retry publishing the failed entries from the logfile. Specify the
|
|
1249
|
+
name of the logfile that lists failed publish calls. If this option is used, it will
|
|
1250
|
+
override all other flags.
|
|
1251
|
+
--source-env=<value> The name of the source environment.
|
|
1246
1252
|
|
|
1247
1253
|
DESCRIPTION
|
|
1248
1254
|
Publish non-localized fields for the given content types, from a particular source environment to the specified
|
|
@@ -1298,33 +1304,33 @@ Publish unpublished entries from the source environment, to other environments a
|
|
|
1298
1304
|
|
|
1299
1305
|
```
|
|
1300
1306
|
USAGE
|
|
1301
|
-
$ csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1302
|
-
[--
|
|
1303
|
-
<value>]
|
|
1307
|
+
$ csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>]
|
|
1308
|
+
[--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]
|
|
1304
1309
|
|
|
1305
1310
|
FLAGS
|
|
1306
|
-
-B, --branch=<value>
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
-a, --alias=<value>
|
|
1310
|
-
|
|
1311
|
-
-b, --bulk-publish=<value>
|
|
1312
|
-
|
|
1313
|
-
-c, --config=<value>
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1311
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
1312
|
+
operation. If you don't mention the branch name, then by default the entries from main
|
|
1313
|
+
branch will be published.
|
|
1314
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
1315
|
+
--stack-api-key flag.
|
|
1316
|
+
-b, --bulk-publish=<value> [default: true] Set this flag to use Contentstack's Bulk Publish APIs. It is true, by
|
|
1317
|
+
default.
|
|
1318
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the
|
|
1319
|
+
options for a single run. Refer to the configure command to create a configuration
|
|
1320
|
+
file.
|
|
1321
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
1322
|
+
environments, specify their names separated by spaces.
|
|
1323
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
1324
|
+
--alias flag.
|
|
1325
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
1326
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2]..
|
|
1327
|
+
--content-types=<value>... The UID of the content type(s) whose entries you want to publish in bulk. In case of
|
|
1328
|
+
multiple content types, specify their IDs separated by spaces.
|
|
1329
|
+
--locales=<value> Locale in which entries will be published, e.g., en-us
|
|
1330
|
+
--retry-failed=<value> (optional) Use this option to retry publishing the failed entries from the logfile. It
|
|
1331
|
+
is optional. Specify the name of the logfile that lists failed publish calls. If this
|
|
1332
|
+
option is used, it will override all other flags.
|
|
1333
|
+
--source-env=<value> The name of the source environment where the entries were initially published.
|
|
1328
1334
|
|
|
1329
1335
|
DESCRIPTION
|
|
1330
1336
|
Publish unpublished entries from the source environment, to other environments and locales
|
|
@@ -1386,26 +1392,26 @@ USAGE
|
|
|
1386
1392
|
[--delivery-token <value>] [--include-variants]
|
|
1387
1393
|
|
|
1388
1394
|
FLAGS
|
|
1389
|
-
-a, --alias=<value>
|
|
1390
|
-
|
|
1391
|
-
-c, --config=<value>
|
|
1392
|
-
|
|
1393
|
-
-e, --environment=<value>
|
|
1394
|
-
-k, --stack-api-key=<value>
|
|
1395
|
-
|
|
1396
|
-
-y, --yes
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1395
|
+
-a, --alias=<value> Alias (name) for the management token. You must use either the --alias flag or the
|
|
1396
|
+
--stack-api-key flag.
|
|
1397
|
+
-c, --config=<value> (optional) Path to the configuration JSON file containing all options for a single run.
|
|
1398
|
+
Refer to the configure command to create a configuration file.
|
|
1399
|
+
-e, --environment=<value> The name of the environment from where entries/assets need to be unpublished.
|
|
1400
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the --alias
|
|
1401
|
+
flag.
|
|
1402
|
+
-y, --yes Set to true to process the command with the current configuration.
|
|
1403
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1404
|
+
--branch=<value> [default: main] Specify the branch to fetch the content. If not mentioned, the main
|
|
1405
|
+
branch will be used by default.
|
|
1406
|
+
--bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that Contentstack's
|
|
1407
|
+
Bulk Publish APIs will be used to unpublish the entries.
|
|
1408
|
+
--content-type=<value> The UID of the content type whose entries you want to unpublish in bulk.
|
|
1409
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
1410
|
+
--include-variants Include Variants flag will unpublish all associated variant entries.
|
|
1411
|
+
--locale=<value> Locale from which entries/assets will be unpublished, e.g., en-us.
|
|
1412
|
+
--retry-failed=<value> (optional) Use this option to retry unpublishing the failed entries from the logfile.
|
|
1413
|
+
Specify the name of the logfile that lists failed unpublish calls. If used, this option
|
|
1414
|
+
will override all other flags.
|
|
1409
1415
|
|
|
1410
1416
|
DESCRIPTION
|
|
1411
1417
|
Unpublish entries from the given environment
|
|
@@ -1462,34 +1468,34 @@ Add fields from updated content types to their respective entries
|
|
|
1462
1468
|
|
|
1463
1469
|
```
|
|
1464
1470
|
USAGE
|
|
1465
|
-
$ csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types
|
|
1466
|
-
<value>] [-
|
|
1471
|
+
$ csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t
|
|
1472
|
+
<value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]
|
|
1467
1473
|
|
|
1468
1474
|
FLAGS
|
|
1469
|
-
-B, --branch=<value>
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
-a, --alias=<value>
|
|
1473
|
-
|
|
1474
|
-
-c, --config=<value>
|
|
1475
|
-
|
|
1476
|
-
-e, --environments=<value>...
|
|
1477
|
-
|
|
1478
|
-
-k, --stack-api-key=<value>
|
|
1479
|
-
|
|
1480
|
-
-l, --locales=<value>...
|
|
1481
|
-
|
|
1482
|
-
-t, --contentTypes=<value>...
|
|
1483
|
-
-y, --yes
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1475
|
+
-B, --branch=<value> [default: main] The name of the branch where you want to perform the bulk publish
|
|
1476
|
+
operation. If you don’t mention the branch name, then by default the content from the
|
|
1477
|
+
main branch will be published.
|
|
1478
|
+
-a, --alias=<value> Alias (name) of the management token. You must use either the --alias flag or the
|
|
1479
|
+
--stack-api-key flag.
|
|
1480
|
+
-c, --config=<value> (optional) The path of the optional configuration JSON file containing all the options
|
|
1481
|
+
for a single run. Refer to the configure command to create a configuration file.
|
|
1482
|
+
-e, --environments=<value>... The name of the environment on which entries will be published. In case of multiple
|
|
1483
|
+
environments, specify their names separated by spaces.
|
|
1484
|
+
-k, --stack-api-key=<value> API key of the source stack. You must use either the --stack-api-key flag or the
|
|
1485
|
+
--alias flag.
|
|
1486
|
+
-l, --locales=<value>... Locales in which entries will be published, e.g., en-us. In the case of multiple
|
|
1487
|
+
locales, specify the codes separated by spaces.
|
|
1488
|
+
-t, --contentTypes=<value>... The Contenttypes from which entries will be published.
|
|
1489
|
+
-y, --yes Set it to true to process the command with the current configuration.
|
|
1490
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1491
|
+
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
|
|
1492
|
+
default.
|
|
1493
|
+
--content-types=<value>... The UID of the content type ID whose entries you want to publish in bulk. In case of
|
|
1494
|
+
multiple content types, specify their IDs separated by spaces.
|
|
1495
|
+
--force Update and publish all entries even if no fields have been added.
|
|
1496
|
+
--retry-failed=<value> Use this option to retry publishing the failed entries from the logfile. Specify the
|
|
1497
|
+
name of the logfile that lists failed publish calls. If this option is used, it will
|
|
1498
|
+
override all other flags.
|
|
1493
1499
|
|
|
1494
1500
|
DESCRIPTION
|
|
1495
1501
|
Add fields from updated content types to their respective entries
|
|
@@ -1600,8 +1606,8 @@ USAGE
|
|
|
1600
1606
|
$ csdx cm:stacks:publish-clear-logs [--log-files-count] [-y]
|
|
1601
1607
|
|
|
1602
1608
|
FLAGS
|
|
1603
|
-
-y, --yes
|
|
1604
|
-
|
|
1609
|
+
-y, --yes Delete all files without asking for confirmation
|
|
1610
|
+
--log-files-count List number of log files
|
|
1605
1611
|
|
|
1606
1612
|
DESCRIPTION
|
|
1607
1613
|
Clear the log folder
|
|
@@ -1696,24 +1702,24 @@ Unpublish entries or assets of given content types from the specified environmen
|
|
|
1696
1702
|
|
|
1697
1703
|
```
|
|
1698
1704
|
USAGE
|
|
1699
|
-
$ csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>]
|
|
1700
|
-
[--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token
|
|
1701
|
-
[--only-assets] [--only-entries]
|
|
1705
|
+
$ csdx cm:stacks:unpublish csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>]
|
|
1706
|
+
[--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token
|
|
1707
|
+
<value>] [--only-assets] [--only-entries]
|
|
1702
1708
|
|
|
1703
1709
|
FLAGS
|
|
1704
|
-
-B, --branch=<value>
|
|
1705
|
-
-a, --alias=<value>
|
|
1706
|
-
-c, --config=<value>
|
|
1707
|
-
-e, --environment=<value>
|
|
1708
|
-
-k, --stack-api-key=<value>
|
|
1709
|
-
-l, --locale=<value>
|
|
1710
|
-
-y, --yes
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1710
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content from (default is main branch)
|
|
1711
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1712
|
+
-c, --config=<value> Path to the config file
|
|
1713
|
+
-e, --environment=<value> Source Environment
|
|
1714
|
+
-k, --stack-api-key=<value> Stack API key to be used
|
|
1715
|
+
-l, --locale=<value> Locale filter
|
|
1716
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1717
|
+
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1718
|
+
--bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1719
|
+
bulkpublish API will be used to unpublish the entries and assets
|
|
1720
|
+
--content-type=<value> Content type filter
|
|
1721
|
+
--delivery-token=<value> The delivery token of the source environment.
|
|
1722
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
1717
1723
|
|
|
1718
1724
|
DESCRIPTION
|
|
1719
1725
|
Unpublish entries or assets of given content types from the specified environment
|