@contentstack/cli 1.1.0 → 1.2.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 +36 -35
- package/oclif.manifest.json +1 -1
- package/package.json +16 -18
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
|
|
|
18
18
|
$ csdx COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ csdx (-v|--version|version)
|
|
21
|
-
@contentstack/cli/1.
|
|
21
|
+
@contentstack/cli/1.2.0 darwin-arm64 node-v18.11.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -97,7 +97,7 @@ EXAMPLES
|
|
|
97
97
|
$ csdx auth:login --username <username> --password <password>
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/
|
|
100
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/login.ts)_
|
|
101
101
|
|
|
102
102
|
## `csdx auth:logout`
|
|
103
103
|
|
|
@@ -124,7 +124,7 @@ EXAMPLES
|
|
|
124
124
|
$ csdx auth:logout --yes
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/
|
|
127
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/logout.ts)_
|
|
128
128
|
|
|
129
129
|
## `csdx auth:tokens`
|
|
130
130
|
|
|
@@ -156,7 +156,7 @@ EXAMPLES
|
|
|
156
156
|
$ csdx auth:tokens
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/
|
|
159
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/tokens/index.ts)_
|
|
160
160
|
|
|
161
161
|
## `csdx auth:tokens:add [-a <value>] [--delivery] [--management] [-e <value>] [-k <value>] [-y] [--token <value>]`
|
|
162
162
|
|
|
@@ -202,7 +202,7 @@ EXAMPLES
|
|
|
202
202
|
$ csdx auth:tokens:add --alias <alias> --stack-api-key <stack api key> --delivery -e <environment> --token <delivery token>
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/
|
|
205
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/tokens/add.ts)_
|
|
206
206
|
|
|
207
207
|
## `csdx auth:tokens:remove`
|
|
208
208
|
|
|
@@ -225,7 +225,7 @@ EXAMPLES
|
|
|
225
225
|
$ csdx auth:tokens:remove -a <alias>
|
|
226
226
|
```
|
|
227
227
|
|
|
228
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/
|
|
228
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/tokens/remove.ts)_
|
|
229
229
|
|
|
230
230
|
## `csdx auth:whoami`
|
|
231
231
|
|
|
@@ -245,7 +245,7 @@ EXAMPLES
|
|
|
245
245
|
$ csdx auth:whoami
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/
|
|
248
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/whoami.ts)_
|
|
249
249
|
|
|
250
250
|
## `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>]`
|
|
251
251
|
|
|
@@ -317,7 +317,7 @@ EXAMPLES
|
|
|
317
317
|
$ csdx cm:assets:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
320
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/assets/publish.js)_
|
|
321
321
|
|
|
322
322
|
## `csdx cm:assets:unpublish`
|
|
323
323
|
|
|
@@ -378,7 +378,7 @@ EXAMPLES
|
|
|
378
378
|
$ csdx cm:assets:unpublish --bulk-unpublish --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
|
|
379
379
|
```
|
|
380
380
|
|
|
381
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
381
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/assets/unpublish.js)_
|
|
382
382
|
|
|
383
383
|
## `csdx cm:bootstrap`
|
|
384
384
|
|
|
@@ -414,7 +414,7 @@ EXAMPLES
|
|
|
414
414
|
$ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app> --org "your-org-uid" --stack-name "stack-name"
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [@contentstack/cli-cm-bootstrap](https://github.com/contentstack/cli/blob/
|
|
417
|
+
_See code: [@contentstack/cli-cm-bootstrap](https://github.com/contentstack/cli/blob/main/packages/contentstack-bootstrap/src/commands/cm/bootstrap.ts)_
|
|
418
418
|
|
|
419
419
|
## `csdx cm:bulk-publish`
|
|
420
420
|
|
|
@@ -428,7 +428,7 @@ DESCRIPTION
|
|
|
428
428
|
Bulk Publish script for managing entries and assets
|
|
429
429
|
```
|
|
430
430
|
|
|
431
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
431
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/index.js)_
|
|
432
432
|
|
|
433
433
|
## `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]`
|
|
434
434
|
|
|
@@ -498,7 +498,7 @@ EXAMPLES
|
|
|
498
498
|
$ csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] -a [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
|
|
499
499
|
```
|
|
500
500
|
|
|
501
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
501
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js)_
|
|
502
502
|
|
|
503
503
|
## `csdx cm:entries:migrate-html-rte`
|
|
504
504
|
|
|
@@ -556,7 +556,7 @@ EXAMPLES
|
|
|
556
556
|
$ csdx cm:entries:migrate-html-rte --alias alias --content-type global_field_uid --global-field --html-path html-path --json-path json-path
|
|
557
557
|
```
|
|
558
558
|
|
|
559
|
-
_See code: [@contentstack/cli-cm-migrate-rte](https://github.com/contentstack/cli/blob/
|
|
559
|
+
_See code: [@contentstack/cli-cm-migrate-rte](https://github.com/contentstack/cli/blob/main/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js)_
|
|
560
560
|
|
|
561
561
|
## `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>]`
|
|
562
562
|
|
|
@@ -637,7 +637,7 @@ EXAMPLES
|
|
|
637
637
|
$ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]
|
|
638
638
|
```
|
|
639
639
|
|
|
640
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
640
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js)_
|
|
641
641
|
|
|
642
642
|
## `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>]`
|
|
643
643
|
|
|
@@ -707,7 +707,7 @@ EXAMPLES
|
|
|
707
707
|
$ csdx cm:entries:publish-modified --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --source-env [SOURCE_ENV] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
710
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-modified.js)_
|
|
711
711
|
|
|
712
712
|
## `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>]`
|
|
713
713
|
|
|
@@ -773,7 +773,7 @@ EXAMPLES
|
|
|
773
773
|
$ csdx cm:entries:publish-non-localized-fields --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --alias [MANAGEMENT TOKEN ALIAS] --source-env [SOURCE ENV] --branch [BRANCH NAME]
|
|
774
774
|
```
|
|
775
775
|
|
|
776
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
776
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-non-localized-fields.js)_
|
|
777
777
|
|
|
778
778
|
## `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>]`
|
|
779
779
|
|
|
@@ -841,7 +841,7 @@ EXAMPLES
|
|
|
841
841
|
$ csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME] -source-env [SOURCE ENV]
|
|
842
842
|
```
|
|
843
843
|
|
|
844
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
844
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish-only-unpublished.js)_
|
|
845
845
|
|
|
846
846
|
## `csdx cm:entries:unpublish`
|
|
847
847
|
|
|
@@ -905,7 +905,7 @@ EXAMPLES
|
|
|
905
905
|
$ csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
|
|
906
906
|
```
|
|
907
907
|
|
|
908
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
908
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js)_
|
|
909
909
|
|
|
910
910
|
## `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>]`
|
|
911
911
|
|
|
@@ -972,7 +972,7 @@ EXAMPLES
|
|
|
972
972
|
$ csdx cm:entries:update-and-publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locale [LOCALE 1] [LOCALE 2] -a [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
|
|
973
973
|
```
|
|
974
974
|
|
|
975
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
975
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/update-and-publish.js)_
|
|
976
976
|
|
|
977
977
|
## `csdx cm:export-to-csv`
|
|
978
978
|
|
|
@@ -1024,7 +1024,7 @@ EXAMPLES
|
|
|
1024
1024
|
$ csdx cm:export-to-csv --action <users> --org <org-uid> --org-name <org-name>
|
|
1025
1025
|
```
|
|
1026
1026
|
|
|
1027
|
-
_See code: [@contentstack/cli-cm-export-to-csv](https://github.com/contentstack/cli/blob/
|
|
1027
|
+
_See code: [@contentstack/cli-cm-export-to-csv](https://github.com/contentstack/cli/blob/main/packages/contentstack-export-to-csv/src/commands/cm/export-to-csv.js)_
|
|
1028
1028
|
|
|
1029
1029
|
## `csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`
|
|
1030
1030
|
|
|
@@ -1038,11 +1038,11 @@ USAGE
|
|
|
1038
1038
|
|
|
1039
1039
|
FLAGS
|
|
1040
1040
|
-n, --stack-name=<value> Name for the new stack to store the cloned content.
|
|
1041
|
+
-y, --yes [optional] Override marketplace prompts
|
|
1041
1042
|
--destination-management-token-alias=<value> Source API key of the target stack token alias.
|
|
1042
1043
|
--destination-stack-api-key=<value> Destination stack API Key
|
|
1043
1044
|
--import-webhook-status=<option> [default: disable] Webhook state
|
|
1044
1045
|
<options: disable|current>
|
|
1045
|
-
--master-locale=<value> Master language for stack clone
|
|
1046
1046
|
--source-branch=<value> Branch of the source stack.
|
|
1047
1047
|
--source-management-token-alias=<value> Source API key of the target stack token alias.
|
|
1048
1048
|
--source-stack-api-key=<value> Source stack API Key
|
|
@@ -1064,7 +1064,7 @@ ALIASES
|
|
|
1064
1064
|
EXAMPLES
|
|
1065
1065
|
$ csdx cm:stacks:clone
|
|
1066
1066
|
|
|
1067
|
-
$ csdx cm:stacks:clone --source-branch <source-branch-name> --target-branch <target-branch-name>
|
|
1067
|
+
$ csdx cm:stacks:clone --source-branch <source-branch-name> --target-branch <target-branch-name> --yes
|
|
1068
1068
|
|
|
1069
1069
|
$ csdx cm:stacks:clone --source-stack-api-key <apiKey> --destination-stack-api-key <apiKey>
|
|
1070
1070
|
|
|
@@ -1075,7 +1075,7 @@ EXAMPLES
|
|
|
1075
1075
|
$ csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias> --type <value a or b>
|
|
1076
1076
|
```
|
|
1077
1077
|
|
|
1078
|
-
_See code: [@contentstack/cli-cm-clone](https://github.com/contentstack/cli/blob/
|
|
1078
|
+
_See code: [@contentstack/cli-cm-clone](https://github.com/contentstack/cli/blob/main/packages/contentstack-clone/src/commands/cm/stacks/clone.js)_
|
|
1079
1079
|
|
|
1080
1080
|
## `csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets]`
|
|
1081
1081
|
|
|
@@ -1118,7 +1118,7 @@ EXAMPLES
|
|
|
1118
1118
|
$ csdx cm:stacks:export --branch [optional] branch name
|
|
1119
1119
|
```
|
|
1120
1120
|
|
|
1121
|
-
_See code: [@contentstack/cli-cm-export](https://github.com/contentstack/cli/blob/
|
|
1121
|
+
_See code: [@contentstack/cli-cm-export](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/stacks/export.js)_
|
|
1122
1122
|
|
|
1123
1123
|
## `csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current]`
|
|
1124
1124
|
|
|
@@ -1137,6 +1137,7 @@ FLAGS
|
|
|
1137
1137
|
-d, --data-dir=<value> path and location where data is stored
|
|
1138
1138
|
-k, --stack-api-key=<value> API key of the target stack
|
|
1139
1139
|
-m, --module=<value> [optional] specific module name
|
|
1140
|
+
-y, --yes [optional] Override marketplace prompts
|
|
1140
1141
|
--import-webhook-status=<option> [default: disable] Webhook state
|
|
1141
1142
|
<options: disable|current>
|
|
1142
1143
|
|
|
@@ -1166,10 +1167,10 @@ EXAMPLES
|
|
|
1166
1167
|
|
|
1167
1168
|
$ csdx cm:stacks:import --alias <management_token_alias> --config <path/of/config/file>
|
|
1168
1169
|
|
|
1169
|
-
$ csdx cm:stacks:import --branch <branch name>
|
|
1170
|
+
$ csdx cm:stacks:import --branch <branch name> --yes
|
|
1170
1171
|
```
|
|
1171
1172
|
|
|
1172
|
-
_See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/
|
|
1173
|
+
_See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/main/packages/contentstack-import/src/commands/cm/stacks/import.js)_
|
|
1173
1174
|
|
|
1174
1175
|
## `csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`
|
|
1175
1176
|
|
|
@@ -1210,7 +1211,7 @@ EXAMPLES
|
|
|
1210
1211
|
$ csdx cm:migration --alias --file-path <migration/script/file/path> -k <api-key>
|
|
1211
1212
|
```
|
|
1212
1213
|
|
|
1213
|
-
_See code: [@contentstack/cli-migration](https://github.com/contentstack/cli-migration/blob/
|
|
1214
|
+
_See code: [@contentstack/cli-migration](https://github.com/contentstack/cli-migration/blob/main/packages/contentstack-migration/src/commands/cm/stacks/migration.js)_
|
|
1214
1215
|
|
|
1215
1216
|
## `csdx cm:stacks:publish`
|
|
1216
1217
|
|
|
@@ -1259,7 +1260,7 @@ EXAMPLES
|
|
|
1259
1260
|
$ csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
|
|
1260
1261
|
```
|
|
1261
1262
|
|
|
1262
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
1263
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish.js)_
|
|
1263
1264
|
|
|
1264
1265
|
## `csdx cm:stacks:publish-clear-logs`
|
|
1265
1266
|
|
|
@@ -1289,7 +1290,7 @@ EXAMPLES
|
|
|
1289
1290
|
$ csdx cm:stacks:publish-clear-logs -y
|
|
1290
1291
|
```
|
|
1291
1292
|
|
|
1292
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
1293
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-clear-logs.js)_
|
|
1293
1294
|
|
|
1294
1295
|
## `csdx cm:stacks:publish-configure`
|
|
1295
1296
|
|
|
@@ -1316,7 +1317,7 @@ EXAMPLES
|
|
|
1316
1317
|
$ csdx cm:stacks:publish-configure --alias <management_token_alias>
|
|
1317
1318
|
```
|
|
1318
1319
|
|
|
1319
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
1320
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-configure.js)_
|
|
1320
1321
|
|
|
1321
1322
|
## `csdx cm:stacks:publish-revert`
|
|
1322
1323
|
|
|
@@ -1352,7 +1353,7 @@ EXAMPLES
|
|
|
1352
1353
|
cm:bulk-publish:revert --retry-failed [LOG FILE NAME]
|
|
1353
1354
|
```
|
|
1354
1355
|
|
|
1355
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
1356
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-revert.js)_
|
|
1356
1357
|
|
|
1357
1358
|
## `csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>]`
|
|
1358
1359
|
|
|
@@ -1388,7 +1389,7 @@ EXAMPLES
|
|
|
1388
1389
|
$ csdx cm:stacks:seed --repo "account/repository" --org "your-org-uid" --stack-name "stack-name" //create a new stack in given org uid
|
|
1389
1390
|
```
|
|
1390
1391
|
|
|
1391
|
-
_See code: [@contentstack/cli-cm-seed](https://github.com/contentstack/cli/blob/
|
|
1392
|
+
_See code: [@contentstack/cli-cm-seed](https://github.com/contentstack/cli/blob/main/packages/contentstack-seed/src/commands/cm/stacks/seed.ts)_
|
|
1392
1393
|
|
|
1393
1394
|
## `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]`
|
|
1394
1395
|
|
|
@@ -1482,7 +1483,7 @@ EXAMPLES
|
|
|
1482
1483
|
$ csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --delivery-token [DELIVERY TOKEN] --branch [BRANCH NAME]
|
|
1483
1484
|
```
|
|
1484
1485
|
|
|
1485
|
-
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/
|
|
1486
|
+
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/unpublish.js)_
|
|
1486
1487
|
|
|
1487
1488
|
## `csdx config:get:region`
|
|
1488
1489
|
|
|
@@ -1499,7 +1500,7 @@ EXAMPLES
|
|
|
1499
1500
|
$ csdx config:get:region
|
|
1500
1501
|
```
|
|
1501
1502
|
|
|
1502
|
-
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/
|
|
1503
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/region.ts)_
|
|
1503
1504
|
|
|
1504
1505
|
## `csdx config:set:region [REGION]`
|
|
1505
1506
|
|
|
@@ -1529,7 +1530,7 @@ EXAMPLES
|
|
|
1529
1530
|
$ csdx config:set:region --cma <contentstack_cma_endpoint> --cda <contentstack_cda_endpoint> --name "India"
|
|
1530
1531
|
```
|
|
1531
1532
|
|
|
1532
|
-
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/
|
|
1533
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/region.ts)_
|
|
1533
1534
|
|
|
1534
1535
|
## `csdx plugins`
|
|
1535
1536
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.
|
|
1
|
+
{"version":"1.2.0","commands":{}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli",
|
|
3
3
|
"description": "Command-line tool (CLI) to interact with Contentstack",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"lint": "eslint src/**/*.ts"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@contentstack/cli-auth": "^1.0.
|
|
25
|
-
"@contentstack/cli-cm-bootstrap": "^1.1.
|
|
26
|
-
"@contentstack/cli-cm-bulk-publish": "^1.0.
|
|
27
|
-
"@contentstack/cli-cm-clone": "^1.1.
|
|
28
|
-
"@contentstack/cli-cm-export": "^1.
|
|
29
|
-
"@contentstack/cli-cm-export-to-csv": "^1.0.
|
|
30
|
-
"@contentstack/cli-cm-import": "^1.
|
|
31
|
-
"@contentstack/cli-cm-migrate-rte": "^1.1.
|
|
32
|
-
"@contentstack/cli-cm-seed": "^1.1.
|
|
33
|
-
"@contentstack/cli-command": "^1.0.
|
|
34
|
-
"@contentstack/cli-config": "^1.0.
|
|
35
|
-
"@contentstack/cli-migration": "^1.0.
|
|
36
|
-
"@contentstack/cli-utilities": "^1.0.
|
|
24
|
+
"@contentstack/cli-auth": "^1.0.3",
|
|
25
|
+
"@contentstack/cli-cm-bootstrap": "^1.1.3",
|
|
26
|
+
"@contentstack/cli-cm-bulk-publish": "^1.0.2",
|
|
27
|
+
"@contentstack/cli-cm-clone": "^1.1.2",
|
|
28
|
+
"@contentstack/cli-cm-export": "^1.2.0",
|
|
29
|
+
"@contentstack/cli-cm-export-to-csv": "^1.0.2",
|
|
30
|
+
"@contentstack/cli-cm-import": "^1.2.0",
|
|
31
|
+
"@contentstack/cli-cm-migrate-rte": "^1.1.3",
|
|
32
|
+
"@contentstack/cli-cm-seed": "^1.1.3",
|
|
33
|
+
"@contentstack/cli-command": "^1.0.2",
|
|
34
|
+
"@contentstack/cli-config": "^1.0.2",
|
|
35
|
+
"@contentstack/cli-migration": "^1.0.2",
|
|
36
|
+
"@contentstack/cli-utilities": "^1.0.3",
|
|
37
37
|
"@contentstack/management": "^1.3.0",
|
|
38
38
|
"@oclif/command": "^1.8.16",
|
|
39
39
|
"@oclif/config": "^1.18.3",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"@oclif/errors": "^1.3.3",
|
|
42
42
|
"@oclif/plugin-not-found": "^2.3.1",
|
|
43
43
|
"@oclif/plugin-plugins": "^2.1.0",
|
|
44
|
-
"chalk": "^
|
|
44
|
+
"chalk": "^5.0.1",
|
|
45
45
|
"debug": "^4.1.1",
|
|
46
46
|
"figlet": "^1.5.2",
|
|
47
|
-
"inquirer": "^
|
|
47
|
+
"inquirer": "^8.2.4",
|
|
48
48
|
"uuid": "^8.3.2",
|
|
49
49
|
"winston": "^3.7.2"
|
|
50
50
|
},
|
|
@@ -56,11 +56,9 @@
|
|
|
56
56
|
"@types/inquirer": "^7.3.1",
|
|
57
57
|
"@types/mkdirp": "^1.0.1",
|
|
58
58
|
"@types/mocha": "^8.2.2",
|
|
59
|
-
"@types/nock": "^11.1.0",
|
|
60
59
|
"@types/node": "^14.14.32",
|
|
61
60
|
"@types/sinon": "^10.0.2",
|
|
62
61
|
"@types/tar": "^4.0.3",
|
|
63
|
-
"@types/winston": "^2.4.4",
|
|
64
62
|
"chai": "^4.3.4",
|
|
65
63
|
"eslint": "^8.18.0",
|
|
66
64
|
"eslint-config-oclif": "^3.1.0",
|