@contentstack/cli 0.1.1-beta.28 → 0.1.1-beta.29
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 +24 -8
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
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/0.1.1-beta.
|
|
21
|
+
@contentstack/cli/0.1.1-beta.29 linux-x64 node-v16.14.2
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -227,7 +227,7 @@ EXAMPLES
|
|
|
227
227
|
$ csdx cm:bootstrap -t <github access token>
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
_See code: [@contentstack/cli-cm-bootstrap](https://github.com/contentstack/cli/blob/v1.0.
|
|
230
|
+
_See code: [@contentstack/cli-cm-bootstrap](https://github.com/contentstack/cli/blob/v1.0.7/src/commands/cm/bootstrap.ts)_
|
|
231
231
|
|
|
232
232
|
## `csdx cm:bulk-publish`
|
|
233
233
|
|
|
@@ -929,7 +929,7 @@ EXAMPLES
|
|
|
929
929
|
csdx cm:export -A -B [optional] branch name
|
|
930
930
|
```
|
|
931
931
|
|
|
932
|
-
_See code: [@contentstack/cli-cm-export](https://github.com/contentstack/cli/blob/v0.1.1-beta.
|
|
932
|
+
_See code: [@contentstack/cli-cm-export](https://github.com/contentstack/cli/blob/v0.1.1-beta.14/packages/contentstack-export/src/commands/cm/export.js)_
|
|
933
933
|
|
|
934
934
|
## `csdx cm:export-to-csv`
|
|
935
935
|
|
|
@@ -985,7 +985,7 @@ EXAMPLES
|
|
|
985
985
|
csdx cm:import -A -B <branch name>
|
|
986
986
|
```
|
|
987
987
|
|
|
988
|
-
_See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/v0.1.1-beta.
|
|
988
|
+
_See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/v0.1.1-beta.17/packages/contentstack-import/src/commands/cm/import.js)_
|
|
989
989
|
|
|
990
990
|
## `csdx cm:migrate-rte`
|
|
991
991
|
|
|
@@ -1009,10 +1009,14 @@ OPTIONS
|
|
|
1009
1009
|
|
|
1010
1010
|
-j, --jsonPath=jsonPath Provide path of JSON RTE to migrate
|
|
1011
1011
|
|
|
1012
|
+
-l, --locale=locale The locale from which entries need to be migrated
|
|
1013
|
+
|
|
1012
1014
|
-p, --configPath=configPath Path to config file to be used
|
|
1013
1015
|
|
|
1014
1016
|
-y, --yes Agree to process the command with the current configuration
|
|
1015
1017
|
|
|
1018
|
+
--batch-limit=batch-limit [default: 50] Provide batch limit for updating entries
|
|
1019
|
+
|
|
1016
1020
|
EXAMPLES
|
|
1017
1021
|
General Usage
|
|
1018
1022
|
csdx cm:migrate-rte -p path/to/config.json
|
|
@@ -1030,7 +1034,7 @@ EXAMPLES
|
|
|
1030
1034
|
csdx cm:migrate-rte -a alias -c global_field_uid -g -h htmlPath -j jsonPath
|
|
1031
1035
|
```
|
|
1032
1036
|
|
|
1033
|
-
_See code: [@contentstack/cli-cm-migrate-rte](https://github.com/contentstack/cli/blob/v1.0.
|
|
1037
|
+
_See code: [@contentstack/cli-cm-migrate-rte](https://github.com/contentstack/cli/blob/v1.0.5/src/commands/cm/migrate-rte/index.js)_
|
|
1034
1038
|
|
|
1035
1039
|
## `csdx cm:migration`
|
|
1036
1040
|
|
|
@@ -1056,11 +1060,23 @@ OPTIONS
|
|
|
1056
1060
|
-n, --filePath=filePath Use this flag to provide the path of the file of the migration
|
|
1057
1061
|
script provided by the user.
|
|
1058
1062
|
|
|
1063
|
+
--config=config [optional] inline configuration, <key1>:<value1>
|
|
1064
|
+
|
|
1065
|
+
--config-file=config-file [optional] Path of the JSON configuration file
|
|
1066
|
+
|
|
1059
1067
|
--multi This flag helps you to migrate multiple content files in a single
|
|
1060
1068
|
instance.
|
|
1069
|
+
|
|
1070
|
+
EXAMPLES
|
|
1071
|
+
$ csdx cm:migration -A -n <migration/script/file/path> -k <api-key>
|
|
1072
|
+
$ csdx cm:migration -A -n <migration/script/file/path> -k <api-key> -B <target branch name>
|
|
1073
|
+
$ csdx cm:migration --config <key1>:<value1> <key2>:<value2> ... -n <migration/script/file/path>
|
|
1074
|
+
$ csdx cm:migration --config-file <path/to/json/config/file> -n <migration/script/file/path>
|
|
1075
|
+
$ csdx cm:migration --multi -n <migration/scripts/dir/path>
|
|
1076
|
+
$ csdx cm:migration -a -n <migration/script/file/path> -k <api-key>
|
|
1061
1077
|
```
|
|
1062
1078
|
|
|
1063
|
-
_See code: [@contentstack/cli-migration](https://github.com/contentstack/cli-migration/blob/v0.1.1-beta.
|
|
1079
|
+
_See code: [@contentstack/cli-migration](https://github.com/contentstack/cli-migration/blob/v0.1.1-beta.3/src/commands/cm/migration.js)_
|
|
1064
1080
|
|
|
1065
1081
|
## `csdx cm:seed`
|
|
1066
1082
|
|
|
@@ -1121,7 +1137,7 @@ USAGE
|
|
|
1121
1137
|
$ csdx config:get:region
|
|
1122
1138
|
```
|
|
1123
1139
|
|
|
1124
|
-
_See code: [src/commands/config/get/region.js](https://github.com/contentstack/cli/blob/v0.1.1-beta.
|
|
1140
|
+
_See code: [src/commands/config/get/region.js](https://github.com/contentstack/cli/blob/v0.1.1-beta.29/src/commands/config/get/region.js)_
|
|
1125
1141
|
|
|
1126
1142
|
## `csdx config:set:region [REGION]`
|
|
1127
1143
|
|
|
@@ -1153,7 +1169,7 @@ EXAMPLES
|
|
|
1153
1169
|
--name="India"
|
|
1154
1170
|
```
|
|
1155
1171
|
|
|
1156
|
-
_See code: [src/commands/config/set/region.js](https://github.com/contentstack/cli/blob/v0.1.1-beta.
|
|
1172
|
+
_See code: [src/commands/config/set/region.js](https://github.com/contentstack/cli/blob/v0.1.1-beta.29/src/commands/config/set/region.js)_
|
|
1157
1173
|
|
|
1158
1174
|
## `csdx help [COMMAND]`
|
|
1159
1175
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.1.1-beta.
|
|
1
|
+
{"version":"0.1.1-beta.29","commands":{"config:get:region":{"id":"config:get:region","description":"Get current region set for CLI\n","pluginName":"@contentstack/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"config:set:region":{"id":"config:set:region","description":"Set region for CLI\n","pluginName":"@contentstack/cli","pluginType":"core","aliases":[],"examples":["$ csdx config:set:region EU","$ csdx config:set:region --cma <contentstack_cma_endpoint> --cda <contentstack_cda_endpoint> --name \"India\"","$ csdx config:set:region --cma=\"https://in-api.contentstack.com\" --cda=\"https://in-cda.contentstack.com\" --name=\"India\""],"flags":{"cda":{"name":"cda","type":"option","char":"d","description":"Custom host to set for content delivery API, if this flag is added then cma and name flags are required"},"cma":{"name":"cma","type":"option","char":"m","description":"Custom host to set for content management API, , if this flag is added then cda and name flags are required"},"name":{"name":"name","type":"option","char":"n","description":"Name for the region, if this flag is added then cda and cma flags are required"}},"args":[{"name":"region","description":"North America(NA), Europe (EU), AZURE-NA","options":["EU","NA","AZURE-NA"]}]}}}
|
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": "0.1.1-beta.
|
|
4
|
+
"version": "0.1.1-beta.29",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"@contentstack/cli-auth": "0.1.1-beta.2",
|
|
13
13
|
"@contentstack/cli-cm-bulk-publish": "0.1.1-beta.5",
|
|
14
14
|
"@contentstack/cli-cm-clone": "0.1.0-beta.5",
|
|
15
|
-
"@contentstack/cli-cm-export": "^0.1.1-beta.
|
|
15
|
+
"@contentstack/cli-cm-export": "^0.1.1-beta.14",
|
|
16
16
|
"@contentstack/cli-cm-export-to-csv": "0.1.0-beta.2",
|
|
17
|
-
"@contentstack/cli-migration": "0.1.1-beta.
|
|
18
|
-
"@contentstack/cli-cm-migrate-rte": "^1.0.
|
|
19
|
-
"@contentstack/cli-cm-import": "^0.1.1-beta.
|
|
17
|
+
"@contentstack/cli-migration": "0.1.1-beta.3",
|
|
18
|
+
"@contentstack/cli-cm-migrate-rte": "^1.0.5",
|
|
19
|
+
"@contentstack/cli-cm-import": "^0.1.1-beta.17",
|
|
20
20
|
"@contentstack/cli-cm-seed": "^1.0.11",
|
|
21
|
-
"@contentstack/cli-cm-bootstrap": "^1.0.
|
|
21
|
+
"@contentstack/cli-cm-bootstrap": "^1.0.7",
|
|
22
22
|
"@contentstack/cli-plugins-plugin": "0.1.0-beta",
|
|
23
23
|
"@contentstack/management": "^1.3.0",
|
|
24
24
|
"@oclif/command": "^1.6.1",
|