@contentstack/cli 1.18.0 → 1.18.1
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 +507 -533
- package/bin/dev.js +7 -0
- package/bin/run.js +6 -0
- package/lib/utils/context-handler.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +19 -19
- package/bin/dev +0 -6
- package/bin/run +0 -5
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
|
|
|
18
18
|
$ csdx COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ csdx (--version|-v)
|
|
21
|
-
@contentstack/cli/1.18.
|
|
21
|
+
@contentstack/cli/1.18.1 linux-x64 node-v18.20.2
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -122,19 +122,14 @@ Perform audits and find possible errors in the exported Contentstack data
|
|
|
122
122
|
|
|
123
123
|
```
|
|
124
124
|
USAGE
|
|
125
|
-
$ csdx audit [
|
|
126
|
-
|
|
127
|
-
[--csv | --no-truncate]
|
|
125
|
+
$ csdx audit [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
126
|
+
[--columns <value> | ] [--sort <value>] [--filter <value>] [--csv | --no-truncate]
|
|
128
127
|
|
|
129
128
|
FLAGS
|
|
130
129
|
--modules=<option>... Provide the list of modules to be audited
|
|
131
130
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
132
131
|
--report-path=<value> Path to store the audit reports
|
|
133
132
|
|
|
134
|
-
COMMON FLAGS
|
|
135
|
-
-c, --config=<value> Path of the external config
|
|
136
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
137
|
-
|
|
138
133
|
TABLE FLAGS
|
|
139
134
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
140
135
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -167,8 +162,8 @@ Perform audits and fix possible errors in the exported Contentstack data.
|
|
|
167
162
|
|
|
168
163
|
```
|
|
169
164
|
USAGE
|
|
170
|
-
$ csdx audit:fix [
|
|
171
|
-
|
|
165
|
+
$ csdx audit:fix [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
166
|
+
[--copy-path <value> --copy-dir] [--fix-only
|
|
172
167
|
reference|global_field|json:rte|json:extension|blocks|group|content_types] [--columns <value> | ] [--sort <value>]
|
|
173
168
|
[--filter <value>] [--csv | --no-truncate]
|
|
174
169
|
|
|
@@ -181,10 +176,6 @@ FLAGS
|
|
|
181
176
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
182
177
|
--report-path=<value> Path to store the audit reports
|
|
183
178
|
|
|
184
|
-
COMMON FLAGS
|
|
185
|
-
-c, --config=<value> Path of the external config
|
|
186
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
187
|
-
|
|
188
179
|
TABLE FLAGS
|
|
189
180
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
190
181
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -224,7 +215,7 @@ USAGE
|
|
|
224
215
|
FLAGS
|
|
225
216
|
-p, --password=<value> Password
|
|
226
217
|
-u, --username=<value> User name
|
|
227
|
-
|
|
218
|
+
--oauth Enables single sign-on (SSO) in Contentstack CLI
|
|
228
219
|
|
|
229
220
|
DESCRIPTION
|
|
230
221
|
User sessions login
|
|
@@ -279,19 +270,19 @@ Lists all existing tokens added to the session
|
|
|
279
270
|
|
|
280
271
|
```
|
|
281
272
|
USAGE
|
|
282
|
-
$ csdx auth:tokens [--columns <value> | -x] [--
|
|
283
|
-
[--csv |
|
|
273
|
+
$ csdx auth:tokens [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
|
|
274
|
+
[--output csv|json|yaml | | ] [--sort <value>]
|
|
284
275
|
|
|
285
276
|
FLAGS
|
|
286
|
-
-x, --extended
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
277
|
+
-x, --extended show extra columns
|
|
278
|
+
--columns=<value> only show provided columns (comma-separated)
|
|
279
|
+
--csv output is csv format [alias: --output=csv]
|
|
280
|
+
--filter=<value> filter property by partial string matching, ex: name=foo
|
|
281
|
+
--no-header hide table header from output
|
|
282
|
+
--no-truncate do not truncate output to fit screen
|
|
283
|
+
--output=<option> output in a more machine friendly format
|
|
284
|
+
<options: csv|json|yaml>
|
|
285
|
+
--sort=<value> property to sort by (prepend '-' for descending)
|
|
295
286
|
|
|
296
287
|
DESCRIPTION
|
|
297
288
|
Lists all existing tokens added to the session
|
|
@@ -412,14 +403,14 @@ FLAGS
|
|
|
412
403
|
-k, --stack-api-key=<value> Stack api key to be used
|
|
413
404
|
-l, --locales=<value>... Locales to where assets will be published
|
|
414
405
|
-y, --yes Agree to process the command with the current configuration
|
|
415
|
-
|
|
416
|
-
|
|
406
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
407
|
+
--bulk-publish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
|
|
417
408
|
bulkpublish API will be used to publish the assets
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
409
|
+
--delivery-token=<value> Delivery token for source environment
|
|
410
|
+
--folder-uid=<value> [default: cs_root] Folder-uid from where the assets will be published
|
|
411
|
+
--retry-failed=<value> Retry publishing failed assets from the logfile (optional, will override all other
|
|
421
412
|
flags)
|
|
422
|
-
|
|
413
|
+
--source-env=<value> Source environment
|
|
423
414
|
|
|
424
415
|
DESCRIPTION
|
|
425
416
|
Publish assets to the specified environments
|
|
@@ -484,19 +475,19 @@ USAGE
|
|
|
484
475
|
<value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--api-version <value>] [--delivery-token <value>]
|
|
485
476
|
|
|
486
477
|
FLAGS
|
|
487
|
-
-a, --alias=<value>
|
|
488
|
-
-c, --config=<value>
|
|
489
|
-
-e, --environment=<value>
|
|
490
|
-
-k, --stack-api-key=<value>
|
|
491
|
-
-y, --yes
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
478
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
479
|
+
-c, --config=<value> Path to the config file
|
|
480
|
+
-e, --environment=<value> Source Environment
|
|
481
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
482
|
+
-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].
|
|
484
|
+
--branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
485
|
+
selected)
|
|
486
|
+
--bulk-unpublish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
|
|
487
|
+
bulkpublish API will be used to unpublish the assets
|
|
488
|
+
--delivery-token=<value> Delivery Token for source environment
|
|
489
|
+
--locale=<value> Locale filter
|
|
490
|
+
--retry-failed=<value> Retry unpublishing failed assets from the logfile
|
|
500
491
|
|
|
501
492
|
DESCRIPTION
|
|
502
493
|
Unpublish assets from given environment
|
|
@@ -555,10 +546,10 @@ FLAGS
|
|
|
555
546
|
-k, --stack-api-key=<value> Provide stack API key to seed content
|
|
556
547
|
-n, --stack-name=<value> Name of a new stack that will be created.
|
|
557
548
|
-y, --yes=<value> [Optional] Skip stack confirmation
|
|
558
|
-
|
|
549
|
+
--app-name=<value> App name, reactjs-starter, nextjs-starter, gatsby-starter, angular-starter, nuxt-starter,
|
|
559
550
|
vue-starter, stencil-starter
|
|
560
|
-
|
|
561
|
-
|
|
551
|
+
--org=<value> Provide organization UID to create a new stack
|
|
552
|
+
--project-dir=<value> Directory to setup the project. If directory name has a space then provide the path as a
|
|
562
553
|
string or escap the space using back slash eg: "../../test space" or ../../test\ space
|
|
563
554
|
|
|
564
555
|
DESCRIPTION
|
|
@@ -588,7 +579,7 @@ USAGE
|
|
|
588
579
|
|
|
589
580
|
FLAGS
|
|
590
581
|
-k, --stack-api-key=<value> Stack API Key
|
|
591
|
-
|
|
582
|
+
--verbose Verbose
|
|
592
583
|
|
|
593
584
|
DESCRIPTION
|
|
594
585
|
List the branches
|
|
@@ -615,8 +606,8 @@ USAGE
|
|
|
615
606
|
|
|
616
607
|
FLAGS
|
|
617
608
|
-k, --stack-api-key=<value> Stack API key
|
|
618
|
-
|
|
619
|
-
|
|
609
|
+
--source=<value> Source branch from which new branch to be created
|
|
610
|
+
--uid=<value> Branch UID to be created
|
|
620
611
|
|
|
621
612
|
DESCRIPTION
|
|
622
613
|
Create a new branch
|
|
@@ -643,7 +634,7 @@ USAGE
|
|
|
643
634
|
FLAGS
|
|
644
635
|
-k, --stack-api-key=<value> Stack API key
|
|
645
636
|
-y, --yes Force the deletion of the branch by skipping the confirmation
|
|
646
|
-
|
|
637
|
+
--uid=<value> Branch UID to be deleted
|
|
647
638
|
|
|
648
639
|
DESCRIPTION
|
|
649
640
|
Delete a branch
|
|
@@ -669,13 +660,13 @@ USAGE
|
|
|
669
660
|
$ csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>]
|
|
670
661
|
|
|
671
662
|
FLAGS
|
|
672
|
-
-k, --stack-api-key=<value>
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
663
|
+
-k, --stack-api-key=<value> Provide Stack API key to show difference between branches
|
|
664
|
+
--base-branch=<value> Base branch
|
|
665
|
+
--compare-branch=<value> Compare branch
|
|
666
|
+
--format=<option> [default: compact-text] [Optional] Type of flags to show branches differences
|
|
667
|
+
<options: compact-text|detailed-text>
|
|
668
|
+
--module=<option> Module
|
|
669
|
+
<options: content-types|global-fields|all>
|
|
679
670
|
|
|
680
671
|
DESCRIPTION
|
|
681
672
|
Differences between two branches
|
|
@@ -718,13 +709,13 @@ USAGE
|
|
|
718
709
|
[--use-merge-summary <value>] [--comment <value>] [--base-branch <value>]
|
|
719
710
|
|
|
720
711
|
FLAGS
|
|
721
|
-
-k, --stack-api-key=<value>
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
712
|
+
-k, --stack-api-key=<value> Provide Stack API key to show difference between branches
|
|
713
|
+
--base-branch=<value> Base branch
|
|
714
|
+
--comment=<value> Merge comment
|
|
715
|
+
--compare-branch=<value> Compare branch name
|
|
716
|
+
--export-summary-path=<value> Export summary file path
|
|
717
|
+
--no-revert If passed, will not create the new revert branch
|
|
718
|
+
--use-merge-summary=<value> Path of merge summary file
|
|
728
719
|
|
|
729
720
|
DESCRIPTION
|
|
730
721
|
Merge changes from a branch
|
|
@@ -767,25 +758,25 @@ Add fields from updated content types to their respective entries
|
|
|
767
758
|
|
|
768
759
|
```
|
|
769
760
|
USAGE
|
|
770
|
-
$ csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
771
|
-
<value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]
|
|
761
|
+
$ csdx cm:bulk-publish:add-fields cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
762
|
+
[--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]
|
|
772
763
|
|
|
773
764
|
FLAGS
|
|
774
|
-
-B, --branch=<value>
|
|
775
|
-
|
|
776
|
-
-a, --alias=<value>
|
|
777
|
-
-c, --config=<value>
|
|
778
|
-
-e, --environments=<value>...
|
|
779
|
-
-k, --stack-api-key=<value>
|
|
780
|
-
-l, --locales=<value>...
|
|
781
|
-
-t, --contentTypes=<value>...
|
|
782
|
-
-y, --yes
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
765
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
766
|
+
selected)
|
|
767
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
768
|
+
-c, --config=<value> Path to the config file
|
|
769
|
+
-e, --environments=<value>... Environments where entries will be published
|
|
770
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
771
|
+
-l, --locales=<value>... Locales where entries will be published
|
|
772
|
+
-t, --contentTypes=<value>... The Contenttypes from which entries will be published
|
|
773
|
+
-y, --yes Agree to process the command with the current configuration
|
|
774
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
775
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
776
|
+
bulkpublish API will be used to publish the entries
|
|
777
|
+
--content-types=<value>... The Contenttypes from which entries will be published
|
|
778
|
+
--force Update and publish all entries even if no fields have been added
|
|
779
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
789
780
|
|
|
790
781
|
DESCRIPTION
|
|
791
782
|
Add fields from updated content types to their respective entries
|
|
@@ -839,8 +830,9 @@ Publish assets to the specified environments
|
|
|
839
830
|
|
|
840
831
|
```
|
|
841
832
|
USAGE
|
|
842
|
-
$ csdx cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>]
|
|
843
|
-
<value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>]
|
|
833
|
+
$ csdx cm:bulk-publish:assets cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>]
|
|
834
|
+
[--bulk-publish <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>]
|
|
835
|
+
[--source-env <value>]
|
|
844
836
|
|
|
845
837
|
FLAGS
|
|
846
838
|
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
@@ -851,14 +843,14 @@ FLAGS
|
|
|
851
843
|
-k, --stack-api-key=<value> Stack api key to be used
|
|
852
844
|
-l, --locales=<value>... Locales to where assets will be published
|
|
853
845
|
-y, --yes Agree to process the command with the current configuration
|
|
854
|
-
|
|
855
|
-
|
|
846
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
847
|
+
--bulk-publish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
|
|
856
848
|
bulkpublish API will be used to publish the assets
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
849
|
+
--delivery-token=<value> Delivery token for source environment
|
|
850
|
+
--folder-uid=<value> [default: cs_root] Folder-uid from where the assets will be published
|
|
851
|
+
--retry-failed=<value> Retry publishing failed assets from the logfile (optional, will override all other
|
|
860
852
|
flags)
|
|
861
|
-
|
|
853
|
+
--source-env=<value> Source environment
|
|
862
854
|
|
|
863
855
|
DESCRIPTION
|
|
864
856
|
Publish assets to the specified environments
|
|
@@ -920,8 +912,8 @@ USAGE
|
|
|
920
912
|
$ csdx cm:bulk-publish:clear [--log-files-count] [-y]
|
|
921
913
|
|
|
922
914
|
FLAGS
|
|
923
|
-
-y, --yes
|
|
924
|
-
|
|
915
|
+
-y, --yes Delete all files without asking for confirmation
|
|
916
|
+
--log-files-count List number of log files
|
|
925
917
|
|
|
926
918
|
DESCRIPTION
|
|
927
919
|
Clear the log folder
|
|
@@ -973,29 +965,29 @@ Publish entries and assets from one environment to other environments
|
|
|
973
965
|
|
|
974
966
|
```
|
|
975
967
|
USAGE
|
|
976
|
-
$ csdx cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type
|
|
977
|
-
|
|
978
|
-
[
|
|
968
|
+
$ csdx cm:bulk-publish:cross-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-type <value>]
|
|
969
|
+
[--locales <value>] [--source-env <value>] [--environments <value>] [--delivery-token <value>] [-c <value>] [-y]
|
|
970
|
+
[--branch <value>] [--onlyAssets] [--onlyEntries]
|
|
979
971
|
|
|
980
972
|
FLAGS
|
|
981
|
-
-B, --branch=<value>
|
|
982
|
-
|
|
983
|
-
-a, --alias=<value>
|
|
984
|
-
-c, --config=<value>
|
|
985
|
-
-k, --stack-api-key=<value>
|
|
986
|
-
-y, --yes
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
973
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
974
|
+
selected)
|
|
975
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
976
|
+
-c, --config=<value> Path to the config file
|
|
977
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
978
|
+
-y, --yes Agree to process the command with the current configuration
|
|
979
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
980
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
981
|
+
bulkpublish API will be used to publish the entries
|
|
982
|
+
--content-type=<value>... The Contenttypes from which entries will be published
|
|
983
|
+
--delivery-token=<value> Delivery token for source environment
|
|
984
|
+
--environments=<value>... Destination Environments
|
|
985
|
+
--locales=<value> Source locale
|
|
986
|
+
--onlyAssets Unpublish only assets
|
|
987
|
+
--onlyEntries Unpublish only entries
|
|
988
|
+
--retry-failed=<value> (optional) Retry publishing failed entries from the logfile (this flag overrides all
|
|
989
|
+
other flags)
|
|
990
|
+
--source-env=<value> Source Env
|
|
999
991
|
|
|
1000
992
|
DESCRIPTION
|
|
1001
993
|
Publish entries and assets from one environment to other environments
|
|
@@ -1050,30 +1042,31 @@ Publish entries from multiple contenttypes to multiple environments and locales
|
|
|
1050
1042
|
|
|
1051
1043
|
```
|
|
1052
1044
|
USAGE
|
|
1053
|
-
$ csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1045
|
+
$ csdx cm:bulk-publish:entries cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1054
1046
|
[--publish-all-content-types] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
1055
1047
|
<value>] [--delivery-token <value>] [--source-env <value>]
|
|
1056
1048
|
|
|
1057
1049
|
FLAGS
|
|
1058
|
-
-B, --branch=<value>
|
|
1059
|
-
|
|
1060
|
-
-a, --alias=<value>
|
|
1061
|
-
-c, --config=<value>
|
|
1062
|
-
|
|
1063
|
-
-e, --environments=<value>...
|
|
1064
|
-
-k, --stack-api-key=<value>
|
|
1065
|
-
-l, --locales=<value>...
|
|
1066
|
-
-y, --yes
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1050
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch
|
|
1051
|
+
is selected)
|
|
1052
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1053
|
+
-c, --config=<value> Path for the external config file (A new config file can be generated at the current
|
|
1054
|
+
working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`)
|
|
1055
|
+
-e, --environments=<value>... Environments where entries will be published
|
|
1056
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1057
|
+
-l, --locales=<value>... Locales where entries will be published
|
|
1058
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1059
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1060
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1061
|
+
bulkpublish API will be used to publish the entries
|
|
1062
|
+
--content-types=<value>... The Contenttypes from which entries need to be published
|
|
1063
|
+
--delivery-token=<value> Delivery token for source environment
|
|
1064
|
+
--publish-all-content-types (optional) Publish all contenttypes (cannot be set when contentTypes flag is set)
|
|
1065
|
+
--retry-failed=<value> (optional) Retry failed entries from the logfile (overrides all other flags) This
|
|
1066
|
+
flag is used to retry publishing entries that failed to publish in a previous
|
|
1067
|
+
attempt. A log file for the previous session will be required for processing the
|
|
1068
|
+
failed entries
|
|
1069
|
+
--source-env=<value> Source environment
|
|
1077
1070
|
|
|
1078
1071
|
DESCRIPTION
|
|
1079
1072
|
Publish entries from multiple contenttypes to multiple environments and locales
|
|
@@ -1135,24 +1128,25 @@ Publish edited entries from a specified content type to the given locales and en
|
|
|
1135
1128
|
|
|
1136
1129
|
```
|
|
1137
1130
|
USAGE
|
|
1138
|
-
$ csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1139
|
-
<value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
1131
|
+
$ csdx cm:bulk-publish:entry-edits cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1132
|
+
[--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
1133
|
+
<value>]
|
|
1140
1134
|
|
|
1141
1135
|
FLAGS
|
|
1142
|
-
-B, --branch=<value>
|
|
1143
|
-
|
|
1144
|
-
-a, --alias=<value>
|
|
1145
|
-
-c, --config=<value>
|
|
1146
|
-
-e, --environments=<value>...
|
|
1147
|
-
-k, --stack-api-key=<value>
|
|
1148
|
-
-l, --locales=<value>...
|
|
1149
|
-
-y, --yes
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1136
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1137
|
+
selected)
|
|
1138
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1139
|
+
-c, --config=<value> Path to the config file
|
|
1140
|
+
-e, --environments=<value>... Destination environments
|
|
1141
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1142
|
+
-l, --locales=<value>... Locales where edited entries will be published
|
|
1143
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1144
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1145
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1146
|
+
bulkpublish API will be used to publish the entries
|
|
1147
|
+
--content-types=<value>... The Contenttypes which will be checked for edited entries
|
|
1148
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
1149
|
+
--source-env=<value> Environment from which edited entries will be published
|
|
1156
1150
|
|
|
1157
1151
|
DESCRIPTION
|
|
1158
1152
|
Publish edited entries from a specified content type to the given locales and environments
|
|
@@ -1209,23 +1203,24 @@ Publish non-localized fields for the given content types, from a particular sour
|
|
|
1209
1203
|
|
|
1210
1204
|
```
|
|
1211
1205
|
USAGE
|
|
1212
|
-
$ csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>]
|
|
1213
|
-
[--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
1206
|
+
$ csdx cm:bulk-publish:nonlocalized-field-changes cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>]
|
|
1207
|
+
[--bulk-publish <value>] [--source-env <value>] [--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch
|
|
1208
|
+
<value>]
|
|
1214
1209
|
|
|
1215
1210
|
FLAGS
|
|
1216
|
-
-B, --branch=<value>
|
|
1217
|
-
|
|
1218
|
-
-a, --alias=<value>
|
|
1219
|
-
-c, --config=<value>
|
|
1220
|
-
-e, --environments=<value>...
|
|
1221
|
-
-k, --stack-api-key=<value>
|
|
1222
|
-
-y, --yes
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1211
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1212
|
+
selected)
|
|
1213
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1214
|
+
-c, --config=<value> Path to the config file
|
|
1215
|
+
-e, --environments=<value>... Destination environments
|
|
1216
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1217
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1218
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1219
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1220
|
+
bulkpublish API will be used to publish the entries
|
|
1221
|
+
--content-types=<value>... The Contenttypes from which entries will be published
|
|
1222
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile
|
|
1223
|
+
--source-env=<value> Source Environment
|
|
1229
1224
|
|
|
1230
1225
|
DESCRIPTION
|
|
1231
1226
|
Publish non-localized fields for the given content types, from a particular source environment to the specified
|
|
@@ -1312,24 +1307,24 @@ Unpublish entries or assets of given content types from the specified environmen
|
|
|
1312
1307
|
|
|
1313
1308
|
```
|
|
1314
1309
|
USAGE
|
|
1315
|
-
$ csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>]
|
|
1316
|
-
[--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token
|
|
1317
|
-
[--only-assets] [--only-entries]
|
|
1310
|
+
$ csdx cm:bulk-publish:unpublish csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>]
|
|
1311
|
+
[--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token
|
|
1312
|
+
<value>] [--only-assets] [--only-entries]
|
|
1318
1313
|
|
|
1319
1314
|
FLAGS
|
|
1320
|
-
-B, --branch=<value>
|
|
1321
|
-
-a, --alias=<value>
|
|
1322
|
-
-c, --config=<value>
|
|
1323
|
-
-e, --environment=<value>
|
|
1324
|
-
-k, --stack-api-key=<value>
|
|
1325
|
-
-l, --locale=<value>
|
|
1326
|
-
-y, --yes
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1315
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content from (default is main branch)
|
|
1316
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1317
|
+
-c, --config=<value> Path to the config file
|
|
1318
|
+
-e, --environment=<value> Source Environment
|
|
1319
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1320
|
+
-l, --locale=<value> Locale filter
|
|
1321
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1322
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1323
|
+
--bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1324
|
+
bulkpublish API will be used to unpublish the entries and assets
|
|
1325
|
+
--content-type=<value> Content type filter
|
|
1326
|
+
--delivery-token=<value> Delivery token for source environment
|
|
1327
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
1333
1328
|
|
|
1334
1329
|
DESCRIPTION
|
|
1335
1330
|
Unpublish entries or assets of given content types from the specified environment
|
|
@@ -1409,25 +1404,25 @@ Publish unpublished entries from the source environment, to other environments a
|
|
|
1409
1404
|
|
|
1410
1405
|
```
|
|
1411
1406
|
USAGE
|
|
1412
|
-
$ csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish
|
|
1413
|
-
[--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y]
|
|
1414
|
-
<value>]
|
|
1407
|
+
$ csdx cm:bulk-publish:unpublished-entries cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish
|
|
1408
|
+
<value>] [--source-env <value>] [--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y]
|
|
1409
|
+
[--branch <value>]
|
|
1415
1410
|
|
|
1416
1411
|
FLAGS
|
|
1417
|
-
-B, --branch=<value>
|
|
1418
|
-
|
|
1419
|
-
-a, --alias=<value>
|
|
1420
|
-
-b, --bulk-publish=<value>
|
|
1421
|
-
|
|
1422
|
-
-c, --config=<value>
|
|
1423
|
-
-e, --environments=<value>...
|
|
1424
|
-
-k, --stack-api-key=<value>
|
|
1425
|
-
-y, --yes
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1412
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1413
|
+
selected)
|
|
1414
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1415
|
+
-b, --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1416
|
+
bulkpublish API will be used to publish the entries
|
|
1417
|
+
-c, --config=<value> Path to the config file
|
|
1418
|
+
-e, --environments=<value>... Destination environments
|
|
1419
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1420
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1421
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1422
|
+
--content-types=<value>... The Contenttypes from which entries will be published
|
|
1423
|
+
--locales=<value> Source locale
|
|
1424
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile
|
|
1425
|
+
--source-env=<value> Source Env
|
|
1431
1426
|
|
|
1432
1427
|
DESCRIPTION
|
|
1433
1428
|
Publish unpublished entries from the source environment, to other environments and locales
|
|
@@ -1487,19 +1482,19 @@ USAGE
|
|
|
1487
1482
|
<value>] [--batch-limit <value>]
|
|
1488
1483
|
|
|
1489
1484
|
FLAGS
|
|
1490
|
-
-a, --alias=<value>
|
|
1491
|
-
-c, --config-path=<value>
|
|
1492
|
-
-y, --yes
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1485
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1486
|
+
-c, --config-path=<value> Path to config file
|
|
1487
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1488
|
+
--batch-limit=<value> [default: 50] Provide batch limit for updating entries
|
|
1489
|
+
--branch=<value> [optional] branch name
|
|
1490
|
+
--content-type=<value> The content type from which entries will be migrated
|
|
1491
|
+
--delay=<value> [default: 1000] Provide delay in ms between two entry update
|
|
1492
|
+
--global-field This flag is set to false by default. It indicates that current content type is a
|
|
1493
|
+
globalfield
|
|
1494
|
+
--html-path=<value> Provide path of HTML RTE to migrate
|
|
1495
|
+
--json-path=<value> Provide path of JSON RTE to migrate
|
|
1496
|
+
--locale=<value> The locale from which entries will be migrated
|
|
1497
|
+
--stack-api-key=<value> Stack api key to be used
|
|
1503
1498
|
|
|
1504
1499
|
DESCRIPTION
|
|
1505
1500
|
Migration script to migrate content from HTML RTE to JSON RTE
|
|
@@ -1543,30 +1538,31 @@ Publish entries from multiple contenttypes to multiple environments and locales
|
|
|
1543
1538
|
|
|
1544
1539
|
```
|
|
1545
1540
|
USAGE
|
|
1546
|
-
$ csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1547
|
-
[--
|
|
1548
|
-
<value>] [--
|
|
1541
|
+
$ csdx cm:entries:publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--publish-all-content-types]
|
|
1542
|
+
[--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>] [--delivery-token
|
|
1543
|
+
<value>] [--source-env <value>]
|
|
1549
1544
|
|
|
1550
1545
|
FLAGS
|
|
1551
|
-
-B, --branch=<value>
|
|
1552
|
-
|
|
1553
|
-
-a, --alias=<value>
|
|
1554
|
-
-c, --config=<value>
|
|
1555
|
-
|
|
1556
|
-
-e, --environments=<value>...
|
|
1557
|
-
-k, --stack-api-key=<value>
|
|
1558
|
-
-l, --locales=<value>...
|
|
1559
|
-
-y, --yes
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1546
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch
|
|
1547
|
+
is selected)
|
|
1548
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1549
|
+
-c, --config=<value> Path for the external config file (A new config file can be generated at the current
|
|
1550
|
+
working directory using `csdx cm:bulk-publish:configure -a [ALIAS]`)
|
|
1551
|
+
-e, --environments=<value>... Environments where entries will be published
|
|
1552
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1553
|
+
-l, --locales=<value>... Locales where entries will be published
|
|
1554
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1555
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1556
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1557
|
+
bulkpublish API will be used to publish the entries
|
|
1558
|
+
--content-types=<value>... The Contenttypes from which entries need to be published
|
|
1559
|
+
--delivery-token=<value> Delivery token for source environment
|
|
1560
|
+
--publish-all-content-types (optional) Publish all contenttypes (cannot be set when contentTypes flag is set)
|
|
1561
|
+
--retry-failed=<value> (optional) Retry failed entries from the logfile (overrides all other flags) This
|
|
1562
|
+
flag is used to retry publishing entries that failed to publish in a previous
|
|
1563
|
+
attempt. A log file for the previous session will be required for processing the
|
|
1564
|
+
failed entries
|
|
1565
|
+
--source-env=<value> Source environment
|
|
1570
1566
|
|
|
1571
1567
|
DESCRIPTION
|
|
1572
1568
|
Publish entries from multiple contenttypes to multiple environments and locales
|
|
@@ -1630,24 +1626,24 @@ Publish edited entries from a specified content type to the given locales and en
|
|
|
1630
1626
|
|
|
1631
1627
|
```
|
|
1632
1628
|
USAGE
|
|
1633
|
-
$ csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env
|
|
1634
|
-
|
|
1629
|
+
$ csdx cm:entries:publish-modified [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>]
|
|
1630
|
+
[--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]
|
|
1635
1631
|
|
|
1636
1632
|
FLAGS
|
|
1637
|
-
-B, --branch=<value>
|
|
1638
|
-
|
|
1639
|
-
-a, --alias=<value>
|
|
1640
|
-
-c, --config=<value>
|
|
1641
|
-
-e, --environments=<value>...
|
|
1642
|
-
-k, --stack-api-key=<value>
|
|
1643
|
-
-l, --locales=<value>...
|
|
1644
|
-
-y, --yes
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1633
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1634
|
+
selected)
|
|
1635
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1636
|
+
-c, --config=<value> Path to the config file
|
|
1637
|
+
-e, --environments=<value>... Destination environments
|
|
1638
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1639
|
+
-l, --locales=<value>... Locales where edited entries will be published
|
|
1640
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1641
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1642
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1643
|
+
bulkpublish API will be used to publish the entries
|
|
1644
|
+
--content-types=<value>... The Contenttypes which will be checked for edited entries
|
|
1645
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
1646
|
+
--source-env=<value> Environment from which edited entries will be published
|
|
1651
1647
|
|
|
1652
1648
|
DESCRIPTION
|
|
1653
1649
|
Publish edited entries from a specified content type to the given locales and environments
|
|
@@ -1706,23 +1702,23 @@ Publish non-localized fields for the given content types, from a particular sour
|
|
|
1706
1702
|
|
|
1707
1703
|
```
|
|
1708
1704
|
USAGE
|
|
1709
|
-
$ csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1710
|
-
[--
|
|
1705
|
+
$ csdx cm:entries:publish-non-localized-fields [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>]
|
|
1706
|
+
[--content-types <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]
|
|
1711
1707
|
|
|
1712
1708
|
FLAGS
|
|
1713
|
-
-B, --branch=<value>
|
|
1714
|
-
|
|
1715
|
-
-a, --alias=<value>
|
|
1716
|
-
-c, --config=<value>
|
|
1717
|
-
-e, --environments=<value>...
|
|
1718
|
-
-k, --stack-api-key=<value>
|
|
1719
|
-
-y, --yes
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1709
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1710
|
+
selected)
|
|
1711
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1712
|
+
-c, --config=<value> Path to the config file
|
|
1713
|
+
-e, --environments=<value>... Destination environments
|
|
1714
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1715
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1716
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1717
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1718
|
+
bulkpublish API will be used to publish the entries
|
|
1719
|
+
--content-types=<value>... The Contenttypes from which entries will be published
|
|
1720
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile
|
|
1721
|
+
--source-env=<value> Source Environment
|
|
1726
1722
|
|
|
1727
1723
|
DESCRIPTION
|
|
1728
1724
|
Publish non-localized fields for the given content types, from a particular source environment to the specified
|
|
@@ -1778,25 +1774,24 @@ Publish unpublished entries from the source environment, to other environments a
|
|
|
1778
1774
|
|
|
1779
1775
|
```
|
|
1780
1776
|
USAGE
|
|
1781
|
-
$ csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>]
|
|
1782
|
-
[--
|
|
1783
|
-
<value>]
|
|
1777
|
+
$ csdx cm:entries:publish-only-unpublished [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--source-env <value>]
|
|
1778
|
+
[--content-types <value>] [--locales <value>] [-e <value>] [-c <value>] [-y] [--branch <value>]
|
|
1784
1779
|
|
|
1785
1780
|
FLAGS
|
|
1786
|
-
-B, --branch=<value>
|
|
1787
|
-
|
|
1788
|
-
-a, --alias=<value>
|
|
1789
|
-
-b, --bulk-publish=<value>
|
|
1790
|
-
|
|
1791
|
-
-c, --config=<value>
|
|
1792
|
-
-e, --environments=<value>...
|
|
1793
|
-
-k, --stack-api-key=<value>
|
|
1794
|
-
-y, --yes
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1781
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1782
|
+
selected)
|
|
1783
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1784
|
+
-b, --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1785
|
+
bulkpublish API will be used to publish the entries
|
|
1786
|
+
-c, --config=<value> Path to the config file
|
|
1787
|
+
-e, --environments=<value>... Destination environments
|
|
1788
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1789
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1790
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1791
|
+
--content-types=<value>... The Contenttypes from which entries will be published
|
|
1792
|
+
--locales=<value> Source locale
|
|
1793
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile
|
|
1794
|
+
--source-env=<value> Source Env
|
|
1800
1795
|
|
|
1801
1796
|
DESCRIPTION
|
|
1802
1797
|
Publish unpublished entries from the source environment, to other environments and locales
|
|
@@ -1858,20 +1853,20 @@ USAGE
|
|
|
1858
1853
|
[--delivery-token <value>]
|
|
1859
1854
|
|
|
1860
1855
|
FLAGS
|
|
1861
|
-
-a, --alias=<value>
|
|
1862
|
-
-c, --config=<value>
|
|
1863
|
-
-e, --environment=<value>
|
|
1864
|
-
-k, --stack-api-key=<value>
|
|
1865
|
-
-y, --yes
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1856
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1857
|
+
-c, --config=<value> Path to the config file
|
|
1858
|
+
-e, --environment=<value> Source Environment
|
|
1859
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1860
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1861
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1862
|
+
--branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1863
|
+
selected)
|
|
1864
|
+
--bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1865
|
+
bulkpublish API will be used to unpublish the entries
|
|
1866
|
+
--content-type=<value> Content type filter
|
|
1867
|
+
--delivery-token=<value> Delivery token for source environment
|
|
1868
|
+
--locale=<value> Locale filter
|
|
1869
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile
|
|
1875
1870
|
|
|
1876
1871
|
DESCRIPTION
|
|
1877
1872
|
Unpublish entries from the given environment
|
|
@@ -1922,25 +1917,25 @@ Add fields from updated content types to their respective entries
|
|
|
1922
1917
|
|
|
1923
1918
|
```
|
|
1924
1919
|
USAGE
|
|
1925
|
-
$ csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types
|
|
1926
|
-
<value>] [-
|
|
1920
|
+
$ csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t
|
|
1921
|
+
<value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]
|
|
1927
1922
|
|
|
1928
1923
|
FLAGS
|
|
1929
|
-
-B, --branch=<value>
|
|
1930
|
-
|
|
1931
|
-
-a, --alias=<value>
|
|
1932
|
-
-c, --config=<value>
|
|
1933
|
-
-e, --environments=<value>...
|
|
1934
|
-
-k, --stack-api-key=<value>
|
|
1935
|
-
-l, --locales=<value>...
|
|
1936
|
-
-t, --contentTypes=<value>...
|
|
1937
|
-
-y, --yes
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1924
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
|
|
1925
|
+
selected)
|
|
1926
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
1927
|
+
-c, --config=<value> Path to the config file
|
|
1928
|
+
-e, --environments=<value>... Environments where entries will be published
|
|
1929
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
1930
|
+
-l, --locales=<value>... Locales where entries will be published
|
|
1931
|
+
-t, --contentTypes=<value>... The Contenttypes from which entries will be published
|
|
1932
|
+
-y, --yes Agree to process the command with the current configuration
|
|
1933
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
1934
|
+
--bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
1935
|
+
bulkpublish API will be used to publish the entries
|
|
1936
|
+
--content-types=<value>... The Contenttypes from which entries will be published
|
|
1937
|
+
--force Update and publish all entries even if no fields have been added
|
|
1938
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
1944
1939
|
|
|
1945
1940
|
DESCRIPTION
|
|
1946
1941
|
Add fields from updated content types to their respective entries
|
|
@@ -1996,8 +1991,8 @@ Export content from a stack
|
|
|
1996
1991
|
|
|
1997
1992
|
```
|
|
1998
1993
|
USAGE
|
|
1999
|
-
$ csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>]
|
|
2000
|
-
<value>] [--branch <value>] [--secured-assets]
|
|
1994
|
+
$ csdx cm:export cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>]
|
|
1995
|
+
[--content-types <value>] [--branch <value>] [--secured-assets]
|
|
2001
1996
|
|
|
2002
1997
|
FLAGS
|
|
2003
1998
|
-B, --branch=<value> [optional] branch name
|
|
@@ -2008,7 +2003,7 @@ FLAGS
|
|
|
2008
2003
|
-m, --module=<value> [optional] specific module name
|
|
2009
2004
|
-t, --content-types=<value>... [optional] content type
|
|
2010
2005
|
-y, --yes [optional] Override marketplace apps related prompts
|
|
2011
|
-
|
|
2006
|
+
--secured-assets [optional] use when assets are secured
|
|
2012
2007
|
|
|
2013
2008
|
DESCRIPTION
|
|
2014
2009
|
Export content from a stack
|
|
@@ -2046,17 +2041,17 @@ FLAGS
|
|
|
2046
2041
|
-a, --alias=<value> Alias of the management token
|
|
2047
2042
|
-k, --stack-api-key=<value> API key of the source stack
|
|
2048
2043
|
-n, --stack-name=<value> Name of the stack that needs to be created as csv filename.
|
|
2049
|
-
|
|
2044
|
+
--action=<option> Option to export data (entries, users, teams, taxonomies)
|
|
2050
2045
|
<options: entries|users|teams|taxonomies>
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2046
|
+
--branch=<value> Branch from which entries need to be exported
|
|
2047
|
+
--content-type=<value> Content type for which entries needs to be exported
|
|
2048
|
+
--delimiter=<value> [default: ,] [optional] Provide a delimiter to separate individual data fields within the
|
|
2054
2049
|
CSV file.
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2050
|
+
--locale=<value> Locale for which entries need to be exported
|
|
2051
|
+
--org=<value> Provide organization UID to clone org users
|
|
2052
|
+
--org-name=<value> Name of the organization that needs to be created as csv filename.
|
|
2053
|
+
--taxonomy-uid=<value> Provide the taxonomy UID of the related terms you want to export
|
|
2054
|
+
--team-uid=<value> Uid of the team whose user data and stack roles are required
|
|
2060
2055
|
|
|
2061
2056
|
DESCRIPTION
|
|
2062
2057
|
Export entries, taxonomies, terms or organization users to csv using this command
|
|
@@ -2145,24 +2140,24 @@ Import content from a stack
|
|
|
2145
2140
|
|
|
2146
2141
|
```
|
|
2147
2142
|
USAGE
|
|
2148
|
-
$ csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>]
|
|
2149
|
-
[--branch <value>] [--import-webhook-status disable|current]
|
|
2143
|
+
$ csdx cm:import cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>]
|
|
2144
|
+
[--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current]
|
|
2150
2145
|
|
|
2151
2146
|
FLAGS
|
|
2152
|
-
-B, --branch=<value>
|
|
2153
|
-
-a, --alias=<value>
|
|
2154
|
-
-b, --backup-dir=<value>
|
|
2155
|
-
-c, --config=<value>
|
|
2156
|
-
-d, --data-dir=<value>
|
|
2157
|
-
-k, --stack-api-key=<value>
|
|
2158
|
-
-m, --module=<value>
|
|
2159
|
-
-y, --yes
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2147
|
+
-B, --branch=<value> [optional] branch name
|
|
2148
|
+
-a, --alias=<value> alias of the management token
|
|
2149
|
+
-b, --backup-dir=<value> [optional] backup directory name when using specific module
|
|
2150
|
+
-c, --config=<value> [optional] path of config file
|
|
2151
|
+
-d, --data-dir=<value> path and location where data is stored
|
|
2152
|
+
-k, --stack-api-key=<value> API key of the target stack
|
|
2153
|
+
-m, --module=<value> [optional] specific module name
|
|
2154
|
+
-y, --yes [optional] Override marketplace prompts
|
|
2155
|
+
--import-webhook-status=<option> [default: disable] [optional] Webhook state
|
|
2156
|
+
<options: disable|current>
|
|
2157
|
+
--replace-existing Replaces the existing module in the target stack.
|
|
2158
|
+
--skip-app-recreation [optional] Skip private apps recreation if already exist
|
|
2159
|
+
--skip-audit Skips the audit fix.
|
|
2160
|
+
--skip-existing Skips the module exists warning messages.
|
|
2166
2161
|
|
|
2167
2162
|
DESCRIPTION
|
|
2168
2163
|
Import content from a stack
|
|
@@ -2199,19 +2194,19 @@ USAGE
|
|
|
2199
2194
|
<value>] [--batch-limit <value>]
|
|
2200
2195
|
|
|
2201
2196
|
FLAGS
|
|
2202
|
-
-a, --alias=<value>
|
|
2203
|
-
-c, --config-path=<value>
|
|
2204
|
-
-y, --yes
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2197
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
2198
|
+
-c, --config-path=<value> Path to config file
|
|
2199
|
+
-y, --yes Agree to process the command with the current configuration
|
|
2200
|
+
--batch-limit=<value> [default: 50] Provide batch limit for updating entries
|
|
2201
|
+
--branch=<value> [optional] branch name
|
|
2202
|
+
--content-type=<value> The content type from which entries will be migrated
|
|
2203
|
+
--delay=<value> [default: 1000] Provide delay in ms between two entry update
|
|
2204
|
+
--global-field This flag is set to false by default. It indicates that current content type is a
|
|
2205
|
+
globalfield
|
|
2206
|
+
--html-path=<value> Provide path of HTML RTE to migrate
|
|
2207
|
+
--json-path=<value> Provide path of JSON RTE to migrate
|
|
2208
|
+
--locale=<value> The locale from which entries will be migrated
|
|
2209
|
+
--stack-api-key=<value> Stack api key to be used
|
|
2215
2210
|
|
|
2216
2211
|
DESCRIPTION
|
|
2217
2212
|
Migration script to migrate content from HTML RTE to JSON RTE
|
|
@@ -2253,18 +2248,18 @@ Contentstack migration script.
|
|
|
2253
2248
|
|
|
2254
2249
|
```
|
|
2255
2250
|
USAGE
|
|
2256
|
-
$ csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>]
|
|
2257
|
-
[--config <value>] [--multiple]
|
|
2251
|
+
$ csdx cm:migration cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>]
|
|
2252
|
+
[--config-file <value>] [--config <value>] [--multiple]
|
|
2258
2253
|
|
|
2259
2254
|
FLAGS
|
|
2260
2255
|
-B, --branch=<value> Use this flag to add the branch name where you want to perform the migration.
|
|
2261
2256
|
-a, --alias=<value> Use this flag to add the management token alias.
|
|
2262
2257
|
-k, --stack-api-key=<value> With this flag add the API key of your stack.
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2258
|
+
--config=<value>... [optional] inline configuration, <key1>:<value1>
|
|
2259
|
+
--config-file=<value> [optional] Path of the JSON configuration file
|
|
2260
|
+
--file-path=<value> Use this flag to provide the path of the file of the migration script provided by the
|
|
2266
2261
|
user.
|
|
2267
|
-
|
|
2262
|
+
--multiple This flag helps you to migrate multiple content files in a single instance.
|
|
2268
2263
|
|
|
2269
2264
|
DESCRIPTION
|
|
2270
2265
|
Contentstack migration script.
|
|
@@ -2292,7 +2287,8 @@ Create a stack from existing content types, entries, assets, etc
|
|
|
2292
2287
|
|
|
2293
2288
|
```
|
|
2294
2289
|
USAGE
|
|
2295
|
-
$ csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s
|
|
2290
|
+
$ csdx cm:seed cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s
|
|
2291
|
+
<value>]
|
|
2296
2292
|
|
|
2297
2293
|
FLAGS
|
|
2298
2294
|
-a, --alias=<value> Alias of the management token
|
|
@@ -2327,28 +2323,28 @@ Clone data (structure/content or both) of a stack into another stack
|
|
|
2327
2323
|
|
|
2328
2324
|
```
|
|
2329
2325
|
USAGE
|
|
2330
|
-
$ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>]
|
|
2331
|
-
[--destination-management-token-alias <value>] [-n <value>] [--type a|b]
|
|
2332
|
-
[--destination-stack-api-key <value>] [--import-webhook-status disable|current]
|
|
2326
|
+
$ csdx cm:stack-clone cm:stacks:clone [--source-branch <value>] [--target-branch <value>]
|
|
2327
|
+
[--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b]
|
|
2328
|
+
[--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]
|
|
2333
2329
|
|
|
2334
2330
|
FLAGS
|
|
2335
|
-
-c, --config=<value>
|
|
2336
|
-
-n, --stack-name=<value>
|
|
2337
|
-
-y, --yes
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2331
|
+
-c, --config=<value> Path for the external configuration
|
|
2332
|
+
-n, --stack-name=<value> Name for the new stack to store the cloned content.
|
|
2333
|
+
-y, --yes [Optional] Override marketplace prompts
|
|
2334
|
+
--destination-management-token-alias=<value> Source API key of the target stack token alias.
|
|
2335
|
+
--destination-stack-api-key=<value> Destination stack API Key
|
|
2336
|
+
--import-webhook-status=<option> [default: disable] [Optional] Webhook state
|
|
2337
|
+
<options: disable|current>
|
|
2338
|
+
--skip-audit Skips the audit fix.
|
|
2339
|
+
--source-branch=<value> Branch of the source stack.
|
|
2340
|
+
--source-management-token-alias=<value> Source API key of the target stack token alias.
|
|
2341
|
+
--source-stack-api-key=<value> Source stack API Key
|
|
2342
|
+
--target-branch=<value> Branch of the target stack.
|
|
2343
|
+
--type=<option> Type of data to clone
|
|
2344
|
+
a) Structure (all modules except entries & assets)
|
|
2345
|
+
b) Structure with content (all modules including entries & assets)
|
|
2350
2346
|
|
|
2351
|
-
|
|
2347
|
+
<options: a|b>
|
|
2352
2348
|
|
|
2353
2349
|
DESCRIPTION
|
|
2354
2350
|
Clone data (structure/content or both) of a stack into another stack
|
|
@@ -2378,19 +2374,14 @@ Perform audits and find possible errors in the exported Contentstack data
|
|
|
2378
2374
|
|
|
2379
2375
|
```
|
|
2380
2376
|
USAGE
|
|
2381
|
-
$ csdx cm:stacks:audit [
|
|
2382
|
-
|
|
2383
|
-
[--csv | --no-truncate]
|
|
2377
|
+
$ csdx cm:stacks:audit [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
2378
|
+
[--columns <value> | ] [--sort <value>] [--filter <value>] [--csv | --no-truncate]
|
|
2384
2379
|
|
|
2385
2380
|
FLAGS
|
|
2386
2381
|
--modules=<option>... Provide the list of modules to be audited
|
|
2387
2382
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
2388
2383
|
--report-path=<value> Path to store the audit reports
|
|
2389
2384
|
|
|
2390
|
-
COMMON FLAGS
|
|
2391
|
-
-c, --config=<value> Path of the external config
|
|
2392
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
2393
|
-
|
|
2394
2385
|
TABLE FLAGS
|
|
2395
2386
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
2396
2387
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -2425,8 +2416,8 @@ Perform audits and fix possible errors in the exported Contentstack data.
|
|
|
2425
2416
|
|
|
2426
2417
|
```
|
|
2427
2418
|
USAGE
|
|
2428
|
-
$ csdx cm:stacks:audit:fix [
|
|
2429
|
-
|
|
2419
|
+
$ csdx cm:stacks:audit:fix [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
2420
|
+
[--copy-path <value> --copy-dir] [--fix-only
|
|
2430
2421
|
reference|global_field|json:rte|json:extension|blocks|group|content_types] [--columns <value> | ] [--sort <value>]
|
|
2431
2422
|
[--filter <value>] [--csv | --no-truncate]
|
|
2432
2423
|
|
|
@@ -2439,10 +2430,6 @@ FLAGS
|
|
|
2439
2430
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
2440
2431
|
--report-path=<value> Path to store the audit reports
|
|
2441
2432
|
|
|
2442
|
-
COMMON FLAGS
|
|
2443
|
-
-c, --config=<value> Path of the external config
|
|
2444
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
2445
|
-
|
|
2446
2433
|
TABLE FLAGS
|
|
2447
2434
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
2448
2435
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -2479,28 +2466,28 @@ Clone data (structure/content or both) of a stack into another stack
|
|
|
2479
2466
|
|
|
2480
2467
|
```
|
|
2481
2468
|
USAGE
|
|
2482
|
-
$ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias
|
|
2483
|
-
[--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>]
|
|
2469
|
+
$ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias
|
|
2470
|
+
<value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>]
|
|
2484
2471
|
[--destination-stack-api-key <value>] [--import-webhook-status disable|current]
|
|
2485
2472
|
|
|
2486
2473
|
FLAGS
|
|
2487
|
-
-c, --config=<value>
|
|
2488
|
-
-n, --stack-name=<value>
|
|
2489
|
-
-y, --yes
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2474
|
+
-c, --config=<value> Path for the external configuration
|
|
2475
|
+
-n, --stack-name=<value> Name for the new stack to store the cloned content.
|
|
2476
|
+
-y, --yes [Optional] Override marketplace prompts
|
|
2477
|
+
--destination-management-token-alias=<value> Source API key of the target stack token alias.
|
|
2478
|
+
--destination-stack-api-key=<value> Destination stack API Key
|
|
2479
|
+
--import-webhook-status=<option> [default: disable] [Optional] Webhook state
|
|
2480
|
+
<options: disable|current>
|
|
2481
|
+
--skip-audit Skips the audit fix.
|
|
2482
|
+
--source-branch=<value> Branch of the source stack.
|
|
2483
|
+
--source-management-token-alias=<value> Source API key of the target stack token alias.
|
|
2484
|
+
--source-stack-api-key=<value> Source stack API Key
|
|
2485
|
+
--target-branch=<value> Branch of the target stack.
|
|
2486
|
+
--type=<option> Type of data to clone
|
|
2487
|
+
a) Structure (all modules except entries & assets)
|
|
2488
|
+
b) Structure with content (all modules including entries & assets)
|
|
2502
2489
|
|
|
2503
|
-
|
|
2490
|
+
<options: a|b>
|
|
2504
2491
|
|
|
2505
2492
|
DESCRIPTION
|
|
2506
2493
|
Clone data (structure/content or both) of a stack into another stack
|
|
@@ -2544,7 +2531,7 @@ FLAGS
|
|
|
2544
2531
|
-m, --module=<value> [optional] specific module name
|
|
2545
2532
|
-t, --content-types=<value>... [optional] content type
|
|
2546
2533
|
-y, --yes [optional] Override marketplace apps related prompts
|
|
2547
|
-
|
|
2534
|
+
--secured-assets [optional] use when assets are secured
|
|
2548
2535
|
|
|
2549
2536
|
DESCRIPTION
|
|
2550
2537
|
Export content from a stack
|
|
@@ -2576,24 +2563,24 @@ Import content from a stack
|
|
|
2576
2563
|
|
|
2577
2564
|
```
|
|
2578
2565
|
USAGE
|
|
2579
|
-
$ csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir
|
|
2580
|
-
[--branch <value>] [--import-webhook-status disable|current]
|
|
2566
|
+
$ csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir
|
|
2567
|
+
<value>] [--branch <value>] [--import-webhook-status disable|current]
|
|
2581
2568
|
|
|
2582
2569
|
FLAGS
|
|
2583
|
-
-B, --branch=<value>
|
|
2584
|
-
-a, --alias=<value>
|
|
2585
|
-
-b, --backup-dir=<value>
|
|
2586
|
-
-c, --config=<value>
|
|
2587
|
-
-d, --data-dir=<value>
|
|
2588
|
-
-k, --stack-api-key=<value>
|
|
2589
|
-
-m, --module=<value>
|
|
2590
|
-
-y, --yes
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2570
|
+
-B, --branch=<value> [optional] branch name
|
|
2571
|
+
-a, --alias=<value> alias of the management token
|
|
2572
|
+
-b, --backup-dir=<value> [optional] backup directory name when using specific module
|
|
2573
|
+
-c, --config=<value> [optional] path of config file
|
|
2574
|
+
-d, --data-dir=<value> path and location where data is stored
|
|
2575
|
+
-k, --stack-api-key=<value> API key of the target stack
|
|
2576
|
+
-m, --module=<value> [optional] specific module name
|
|
2577
|
+
-y, --yes [optional] Override marketplace prompts
|
|
2578
|
+
--import-webhook-status=<option> [default: disable] [optional] Webhook state
|
|
2579
|
+
<options: disable|current>
|
|
2580
|
+
--replace-existing Replaces the existing module in the target stack.
|
|
2581
|
+
--skip-app-recreation [optional] Skip private apps recreation if already exist
|
|
2582
|
+
--skip-audit Skips the audit fix.
|
|
2583
|
+
--skip-existing Skips the module exists warning messages.
|
|
2597
2584
|
|
|
2598
2585
|
DESCRIPTION
|
|
2599
2586
|
Import content from a stack
|
|
@@ -2634,11 +2621,11 @@ FLAGS
|
|
|
2634
2621
|
-B, --branch=<value> Use this flag to add the branch name where you want to perform the migration.
|
|
2635
2622
|
-a, --alias=<value> Use this flag to add the management token alias.
|
|
2636
2623
|
-k, --stack-api-key=<value> With this flag add the API key of your stack.
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2624
|
+
--config=<value>... [optional] inline configuration, <key1>:<value1>
|
|
2625
|
+
--config-file=<value> [optional] Path of the JSON configuration file
|
|
2626
|
+
--file-path=<value> Use this flag to provide the path of the file of the migration script provided by the
|
|
2640
2627
|
user.
|
|
2641
|
-
|
|
2628
|
+
--multiple This flag helps you to migrate multiple content files in a single instance.
|
|
2642
2629
|
|
|
2643
2630
|
DESCRIPTION
|
|
2644
2631
|
Contentstack migration script.
|
|
@@ -2723,8 +2710,8 @@ USAGE
|
|
|
2723
2710
|
$ csdx cm:stacks:publish-clear-logs [--log-files-count] [-y]
|
|
2724
2711
|
|
|
2725
2712
|
FLAGS
|
|
2726
|
-
-y, --yes
|
|
2727
|
-
|
|
2713
|
+
-y, --yes Delete all files without asking for confirmation
|
|
2714
|
+
--log-files-count List number of log files
|
|
2728
2715
|
|
|
2729
2716
|
DESCRIPTION
|
|
2730
2717
|
Clear the log folder
|
|
@@ -2852,24 +2839,24 @@ Unpublish entries or assets of given content types from the specified environmen
|
|
|
2852
2839
|
|
|
2853
2840
|
```
|
|
2854
2841
|
USAGE
|
|
2855
|
-
$ csdx
|
|
2842
|
+
$ csdx cm:stacks:unpublish csdx [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>]
|
|
2856
2843
|
[--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>]
|
|
2857
2844
|
[--only-assets] [--only-entries]
|
|
2858
2845
|
|
|
2859
2846
|
FLAGS
|
|
2860
|
-
-B, --branch=<value>
|
|
2861
|
-
-a, --alias=<value>
|
|
2862
|
-
-c, --config=<value>
|
|
2863
|
-
-e, --environment=<value>
|
|
2864
|
-
-k, --stack-api-key=<value>
|
|
2865
|
-
-l, --locale=<value>
|
|
2866
|
-
-y, --yes
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2847
|
+
-B, --branch=<value> [default: main] Specify the branch to fetch the content from (default is main branch)
|
|
2848
|
+
-a, --alias=<value> Alias(name) for the management token
|
|
2849
|
+
-c, --config=<value> Path to the config file
|
|
2850
|
+
-e, --environment=<value> Source Environment
|
|
2851
|
+
-k, --stack-api-key=<value> Stack api key to be used
|
|
2852
|
+
-l, --locale=<value> Locale filter
|
|
2853
|
+
-y, --yes Agree to process the command with the current configuration
|
|
2854
|
+
--api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
|
|
2855
|
+
--bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
|
|
2856
|
+
bulkpublish API will be used to unpublish the entries and assets
|
|
2857
|
+
--content-type=<value> Content type filter
|
|
2858
|
+
--delivery-token=<value> Delivery token for source environment
|
|
2859
|
+
--retry-failed=<value> Retry publishing failed entries from the logfile (optional, overrides all other flags)
|
|
2873
2860
|
|
|
2874
2861
|
DESCRIPTION
|
|
2875
2862
|
Unpublish entries or assets of given content types from the specified environment
|
|
@@ -3049,8 +3036,8 @@ USAGE
|
|
|
3049
3036
|
$ csdx config:remove:ea-header [--header-alias <value>] [-y]
|
|
3050
3037
|
|
|
3051
3038
|
FLAGS
|
|
3052
|
-
-y, --yes
|
|
3053
|
-
|
|
3039
|
+
-y, --yes Force Remove
|
|
3040
|
+
--header-alias=<value> Early access header alias
|
|
3054
3041
|
|
|
3055
3042
|
DESCRIPTION
|
|
3056
3043
|
Remove Early Access header
|
|
@@ -3073,8 +3060,8 @@ USAGE
|
|
|
3073
3060
|
$ csdx config:remove:early-access-header [--header-alias <value>] [-y]
|
|
3074
3061
|
|
|
3075
3062
|
FLAGS
|
|
3076
|
-
-y, --yes
|
|
3077
|
-
|
|
3063
|
+
-y, --yes Force Remove
|
|
3064
|
+
--header-alias=<value> Early access header alias
|
|
3078
3065
|
|
|
3079
3066
|
DESCRIPTION
|
|
3080
3067
|
Remove Early Access header
|
|
@@ -3100,7 +3087,7 @@ USAGE
|
|
|
3100
3087
|
|
|
3101
3088
|
FLAGS
|
|
3102
3089
|
-k, --stack-api-key=<value> Stack API Key
|
|
3103
|
-
|
|
3090
|
+
--base-branch=<value> Base Branch
|
|
3104
3091
|
|
|
3105
3092
|
DESCRIPTION
|
|
3106
3093
|
Set branch for CLI
|
|
@@ -3175,12 +3162,12 @@ ARGUMENTS
|
|
|
3175
3162
|
REGION Name for the region
|
|
3176
3163
|
|
|
3177
3164
|
FLAGS
|
|
3178
|
-
-d, --cda=<value>
|
|
3179
|
-
|
|
3180
|
-
-m, --cma=<value>
|
|
3181
|
-
|
|
3182
|
-
-n, --name=<value>
|
|
3183
|
-
|
|
3165
|
+
-d, --cda=<value> Custom host to set for content delivery API, if this flag is added then cma, ui-host and name
|
|
3166
|
+
flags are required
|
|
3167
|
+
-m, --cma=<value> Custom host to set for content management API, , if this flag is added then cda, ui-host and
|
|
3168
|
+
name flags are required
|
|
3169
|
+
-n, --name=<value> Name for the region, if this flag is added then cda, cma and ui-host flags are required
|
|
3170
|
+
--ui-host=<value> Custom UI host to set for CLI, if this flag is added then cda, cma and name flags are required
|
|
3184
3171
|
|
|
3185
3172
|
DESCRIPTION
|
|
3186
3173
|
Set region for CLI
|
|
@@ -3209,10 +3196,10 @@ Display help for csdx.
|
|
|
3209
3196
|
|
|
3210
3197
|
```
|
|
3211
3198
|
USAGE
|
|
3212
|
-
$ csdx help [COMMANDS] [-n]
|
|
3199
|
+
$ csdx help [COMMANDS...] [-n]
|
|
3213
3200
|
|
|
3214
3201
|
ARGUMENTS
|
|
3215
|
-
COMMANDS Command to show help for.
|
|
3202
|
+
COMMANDS... Command to show help for.
|
|
3216
3203
|
|
|
3217
3204
|
FLAGS
|
|
3218
3205
|
-n, --nested-commands Include all nested commands in the output.
|
|
@@ -3229,22 +3216,20 @@ Launch related operations
|
|
|
3229
3216
|
|
|
3230
3217
|
```
|
|
3231
3218
|
USAGE
|
|
3232
|
-
$ csdx launch [
|
|
3233
|
-
[
|
|
3219
|
+
$ csdx launch [--type GitHub|FileUpload] [--framework Gatsby|NextJs|Other] [--org <value>] [-n <value>]
|
|
3220
|
+
[-e <value>] [--branch <value>] [--build-command <value>] [--out-dir <value>]
|
|
3234
3221
|
|
|
3235
3222
|
FLAGS
|
|
3236
|
-
-
|
|
3237
|
-
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
--type=<option> [Optional] Choose the type of adapters
|
|
3247
|
-
<options: GitHub|FileUpload>
|
|
3223
|
+
-e, --environment=<value> [Optional] Environment name for the Launch project
|
|
3224
|
+
-n, --name=<value> [Optional] Name of the project
|
|
3225
|
+
--branch=<value> [Optional] GitHub branch name
|
|
3226
|
+
--build-command=<value> [Optional] Build Command
|
|
3227
|
+
--framework=<option> [Optional] Type of framework
|
|
3228
|
+
<options: Gatsby|NextJs|Other>
|
|
3229
|
+
--org=<value> [Optional] Provide the organization UID to create a new project or deployment
|
|
3230
|
+
--out-dir=<value> [Optional] Output Directory
|
|
3231
|
+
--type=<option> [Optional] Choose the type of adapters
|
|
3232
|
+
<options: GitHub|FileUpload>
|
|
3248
3233
|
|
|
3249
3234
|
DESCRIPTION
|
|
3250
3235
|
Launch related operations
|
|
@@ -3273,14 +3258,12 @@ Show list of deployments for an environment
|
|
|
3273
3258
|
|
|
3274
3259
|
```
|
|
3275
3260
|
USAGE
|
|
3276
|
-
$ csdx launch:deployments [
|
|
3261
|
+
$ csdx launch:deployments [--org <value>] [--project <value>] [-e <value>]
|
|
3277
3262
|
|
|
3278
3263
|
FLAGS
|
|
3279
|
-
-c, --config=<value> Path to the local '.cs-launch.json' file
|
|
3280
|
-
-d, --data-dir=<value> Current working directory
|
|
3281
3264
|
-e, --environment=<value> Environment name or UID
|
|
3282
|
-
|
|
3283
|
-
|
|
3265
|
+
--org=<value> [Optional] Provide the organization UID
|
|
3266
|
+
--project=<value> [Optional] Provide the project UID
|
|
3284
3267
|
|
|
3285
3268
|
DESCRIPTION
|
|
3286
3269
|
Show list of deployments for an environment
|
|
@@ -3303,13 +3286,11 @@ Show list of environments for a project
|
|
|
3303
3286
|
|
|
3304
3287
|
```
|
|
3305
3288
|
USAGE
|
|
3306
|
-
$ csdx launch:environments [
|
|
3289
|
+
$ csdx launch:environments [--org <value>] [--project <value>]
|
|
3307
3290
|
|
|
3308
3291
|
FLAGS
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
--org=<value> [Optional] Provide the organization UID
|
|
3312
|
-
--project=<value> [Optional] Provide the project UID
|
|
3292
|
+
--org=<value> [Optional] Provide the organization UID
|
|
3293
|
+
--project=<value> [Optional] Provide the project UID
|
|
3313
3294
|
|
|
3314
3295
|
DESCRIPTION
|
|
3315
3296
|
Show list of environments for a project
|
|
@@ -3332,12 +3313,10 @@ Serve cloud functions
|
|
|
3332
3313
|
|
|
3333
3314
|
```
|
|
3334
3315
|
USAGE
|
|
3335
|
-
$ csdx launch:functions [-
|
|
3316
|
+
$ csdx launch:functions [-p <value>]
|
|
3336
3317
|
|
|
3337
3318
|
FLAGS
|
|
3338
|
-
-
|
|
3339
|
-
-d, --data-dir=<value> Current working directory
|
|
3340
|
-
-p, --port=<value> [default: 3000] Port number
|
|
3319
|
+
-p, --port=<value> [default: 3000] Port number
|
|
3341
3320
|
|
|
3342
3321
|
DESCRIPTION
|
|
3343
3322
|
Serve cloud functions
|
|
@@ -3364,17 +3343,14 @@ Show deployment or server logs
|
|
|
3364
3343
|
|
|
3365
3344
|
```
|
|
3366
3345
|
USAGE
|
|
3367
|
-
$ csdx launch:logs [-
|
|
3368
|
-
[--project <value>]
|
|
3346
|
+
$ csdx launch:logs [-e <value>] [--deployment <value>] [--type d|s] [--org <value>] [--project <value>]
|
|
3369
3347
|
|
|
3370
3348
|
FLAGS
|
|
3371
|
-
-c, --config=<value> Path to the local '.cs-launch.json' file
|
|
3372
|
-
-d, --data-dir=<value> Current working directory
|
|
3373
3349
|
-e, --environment=<value> Environment name or UID
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3350
|
+
--deployment=<value> Deployment number or UID
|
|
3351
|
+
--org=<value> [Optional] Provide the organization UID
|
|
3352
|
+
--project=<value> [Optional] Provide the project UID
|
|
3353
|
+
--type=<option> [default: s] Choose type of flags to show logs
|
|
3378
3354
|
d) Deployment logs
|
|
3379
3355
|
s) Server logs
|
|
3380
3356
|
|
|
@@ -3413,14 +3389,12 @@ Open a website for an environment
|
|
|
3413
3389
|
|
|
3414
3390
|
```
|
|
3415
3391
|
USAGE
|
|
3416
|
-
$ csdx launch:open [
|
|
3392
|
+
$ csdx launch:open [--org <value>] [--project <value>] [-e <value>]
|
|
3417
3393
|
|
|
3418
3394
|
FLAGS
|
|
3419
|
-
-c, --config=<value> Path to the local '.cs-launch.json' file
|
|
3420
|
-
-d, --data-dir=<value> Current working directory
|
|
3421
3395
|
-e, --environment=<value> Environment name or UID
|
|
3422
|
-
|
|
3423
|
-
|
|
3396
|
+
--org=<value> [Optional] Provide the organization UID
|
|
3397
|
+
--project=<value> [Optional] Provide the project UID
|
|
3424
3398
|
|
|
3425
3399
|
DESCRIPTION
|
|
3426
3400
|
Open a website for an environment
|
|
@@ -3452,7 +3426,7 @@ USAGE
|
|
|
3452
3426
|
FLAGS
|
|
3453
3427
|
-p, --password=<value> Password
|
|
3454
3428
|
-u, --username=<value> User name
|
|
3455
|
-
|
|
3429
|
+
--oauth Enables single sign-on (SSO) in Contentstack CLI
|
|
3456
3430
|
|
|
3457
3431
|
DESCRIPTION
|
|
3458
3432
|
User sessions login
|
|
@@ -3518,7 +3492,7 @@ EXAMPLES
|
|
|
3518
3492
|
$ csdx plugins
|
|
3519
3493
|
```
|
|
3520
3494
|
|
|
3521
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3495
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/index.ts)_
|
|
3522
3496
|
|
|
3523
3497
|
## `csdx plugins:add PLUGIN`
|
|
3524
3498
|
|
|
@@ -3526,10 +3500,10 @@ Installs a plugin into csdx.
|
|
|
3526
3500
|
|
|
3527
3501
|
```
|
|
3528
3502
|
USAGE
|
|
3529
|
-
$ csdx plugins:add PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
3503
|
+
$ csdx plugins:add PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
3530
3504
|
|
|
3531
3505
|
ARGUMENTS
|
|
3532
|
-
PLUGIN Plugin to install.
|
|
3506
|
+
PLUGIN... Plugin to install.
|
|
3533
3507
|
|
|
3534
3508
|
FLAGS
|
|
3535
3509
|
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
@@ -3576,7 +3550,7 @@ USAGE
|
|
|
3576
3550
|
$ csdx plugins:inspect PLUGIN...
|
|
3577
3551
|
|
|
3578
3552
|
ARGUMENTS
|
|
3579
|
-
PLUGIN [default: .] Plugin to inspect.
|
|
3553
|
+
PLUGIN... [default: .] Plugin to inspect.
|
|
3580
3554
|
|
|
3581
3555
|
FLAGS
|
|
3582
3556
|
-h, --help Show CLI help.
|
|
@@ -3592,7 +3566,7 @@ EXAMPLES
|
|
|
3592
3566
|
$ csdx plugins:inspect myplugin
|
|
3593
3567
|
```
|
|
3594
3568
|
|
|
3595
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3569
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/inspect.ts)_
|
|
3596
3570
|
|
|
3597
3571
|
## `csdx plugins:install PLUGIN`
|
|
3598
3572
|
|
|
@@ -3600,10 +3574,10 @@ Installs a plugin into csdx.
|
|
|
3600
3574
|
|
|
3601
3575
|
```
|
|
3602
3576
|
USAGE
|
|
3603
|
-
$ csdx plugins:install PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
3577
|
+
$ csdx plugins:install PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
3604
3578
|
|
|
3605
3579
|
ARGUMENTS
|
|
3606
|
-
PLUGIN Plugin to install.
|
|
3580
|
+
PLUGIN... Plugin to install.
|
|
3607
3581
|
|
|
3608
3582
|
FLAGS
|
|
3609
3583
|
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
@@ -3641,7 +3615,7 @@ EXAMPLES
|
|
|
3641
3615
|
$ csdx plugins:install someuser/someplugin
|
|
3642
3616
|
```
|
|
3643
3617
|
|
|
3644
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3618
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/install.ts)_
|
|
3645
3619
|
|
|
3646
3620
|
## `csdx plugins:link PATH`
|
|
3647
3621
|
|
|
@@ -3655,9 +3629,9 @@ ARGUMENTS
|
|
|
3655
3629
|
PATH [default: .] path to plugin
|
|
3656
3630
|
|
|
3657
3631
|
FLAGS
|
|
3658
|
-
-h, --help
|
|
3632
|
+
-h, --help Show CLI help.
|
|
3659
3633
|
-v, --verbose
|
|
3660
|
-
|
|
3634
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
3661
3635
|
|
|
3662
3636
|
DESCRIPTION
|
|
3663
3637
|
Links a plugin into the CLI for development.
|
|
@@ -3671,7 +3645,7 @@ EXAMPLES
|
|
|
3671
3645
|
$ csdx plugins:link myplugin
|
|
3672
3646
|
```
|
|
3673
3647
|
|
|
3674
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3648
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/link.ts)_
|
|
3675
3649
|
|
|
3676
3650
|
## `csdx plugins:remove [PLUGIN]`
|
|
3677
3651
|
|
|
@@ -3679,10 +3653,10 @@ Removes a plugin from the CLI.
|
|
|
3679
3653
|
|
|
3680
3654
|
```
|
|
3681
3655
|
USAGE
|
|
3682
|
-
$ csdx plugins:remove [PLUGIN] [-h] [-v]
|
|
3656
|
+
$ csdx plugins:remove [PLUGIN...] [-h] [-v]
|
|
3683
3657
|
|
|
3684
3658
|
ARGUMENTS
|
|
3685
|
-
PLUGIN plugin to uninstall
|
|
3659
|
+
PLUGIN... plugin to uninstall
|
|
3686
3660
|
|
|
3687
3661
|
FLAGS
|
|
3688
3662
|
-h, --help Show CLI help.
|
|
@@ -3712,7 +3686,7 @@ FLAGS
|
|
|
3712
3686
|
--reinstall Reinstall all plugins after uninstalling.
|
|
3713
3687
|
```
|
|
3714
3688
|
|
|
3715
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3689
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/reset.ts)_
|
|
3716
3690
|
|
|
3717
3691
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
3718
3692
|
|
|
@@ -3720,10 +3694,10 @@ Removes a plugin from the CLI.
|
|
|
3720
3694
|
|
|
3721
3695
|
```
|
|
3722
3696
|
USAGE
|
|
3723
|
-
$ csdx plugins:uninstall [PLUGIN] [-h] [-v]
|
|
3697
|
+
$ csdx plugins:uninstall [PLUGIN...] [-h] [-v]
|
|
3724
3698
|
|
|
3725
3699
|
ARGUMENTS
|
|
3726
|
-
PLUGIN plugin to uninstall
|
|
3700
|
+
PLUGIN... plugin to uninstall
|
|
3727
3701
|
|
|
3728
3702
|
FLAGS
|
|
3729
3703
|
-h, --help Show CLI help.
|
|
@@ -3740,7 +3714,7 @@ EXAMPLES
|
|
|
3740
3714
|
$ csdx plugins:uninstall myplugin
|
|
3741
3715
|
```
|
|
3742
3716
|
|
|
3743
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3717
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/uninstall.ts)_
|
|
3744
3718
|
|
|
3745
3719
|
## `csdx plugins:unlink [PLUGIN]`
|
|
3746
3720
|
|
|
@@ -3748,10 +3722,10 @@ Removes a plugin from the CLI.
|
|
|
3748
3722
|
|
|
3749
3723
|
```
|
|
3750
3724
|
USAGE
|
|
3751
|
-
$ csdx plugins:unlink [PLUGIN] [-h] [-v]
|
|
3725
|
+
$ csdx plugins:unlink [PLUGIN...] [-h] [-v]
|
|
3752
3726
|
|
|
3753
3727
|
ARGUMENTS
|
|
3754
|
-
PLUGIN plugin to uninstall
|
|
3728
|
+
PLUGIN... plugin to uninstall
|
|
3755
3729
|
|
|
3756
3730
|
FLAGS
|
|
3757
3731
|
-h, --help Show CLI help.
|
|
@@ -3784,7 +3758,7 @@ DESCRIPTION
|
|
|
3784
3758
|
Update installed plugins.
|
|
3785
3759
|
```
|
|
3786
3760
|
|
|
3787
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
3761
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/update.ts)_
|
|
3788
3762
|
|
|
3789
3763
|
## `csdx tokens`
|
|
3790
3764
|
|
|
@@ -3792,19 +3766,19 @@ Lists all existing tokens added to the session
|
|
|
3792
3766
|
|
|
3793
3767
|
```
|
|
3794
3768
|
USAGE
|
|
3795
|
-
$ csdx tokens [--columns <value> | -x] [--
|
|
3796
|
-
[--csv |
|
|
3769
|
+
$ csdx tokens [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
|
|
3770
|
+
[--output csv|json|yaml | | ] [--sort <value>]
|
|
3797
3771
|
|
|
3798
3772
|
FLAGS
|
|
3799
|
-
-x, --extended
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3773
|
+
-x, --extended show extra columns
|
|
3774
|
+
--columns=<value> only show provided columns (comma-separated)
|
|
3775
|
+
--csv output is csv format [alias: --output=csv]
|
|
3776
|
+
--filter=<value> filter property by partial string matching, ex: name=foo
|
|
3777
|
+
--no-header hide table header from output
|
|
3778
|
+
--no-truncate do not truncate output to fit screen
|
|
3779
|
+
--output=<option> output in a more machine friendly format
|
|
3780
|
+
<options: csv|json|yaml>
|
|
3781
|
+
--sort=<value> property to sort by (prepend '-' for descending)
|
|
3808
3782
|
|
|
3809
3783
|
DESCRIPTION
|
|
3810
3784
|
Lists all existing tokens added to the session
|