@contentstack/cli 1.10.0 → 1.10.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 +36 -5
- package/oclif.manifest.json +1 -1
- package/package.json +18 -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 (--version|-v)
|
|
21
|
-
@contentstack/cli/1.10.
|
|
21
|
+
@contentstack/cli/1.10.1 linux-x64 node-v18.18.2
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -2018,20 +2018,21 @@ Export entries or organization users to csv using this command
|
|
|
2018
2018
|
|
|
2019
2019
|
```
|
|
2020
2020
|
USAGE
|
|
2021
|
-
$ csdx cm:export-to-csv [--action entries|users] [-a <value>] [--org <value>] [-n <value>] [-k <value>]
|
|
2022
|
-
<value>] [--locale <value>] [--content-type <value>] [--branch <value>]
|
|
2021
|
+
$ csdx cm:export-to-csv [--action entries|users|teams] [-a <value>] [--org <value>] [-n <value>] [-k <value>]
|
|
2022
|
+
[--org-name <value>] [--locale <value>] [--content-type <value>] [--branch <value>] [--team-uid <value>]
|
|
2023
2023
|
|
|
2024
2024
|
FLAGS
|
|
2025
2025
|
-a, --alias=<value> Alias of the management token
|
|
2026
2026
|
-k, --stack-api-key=<value> API key of the source stack
|
|
2027
2027
|
-n, --stack-name=<value> Name of the stack that needs to be created as csv filename.
|
|
2028
|
-
--action=<option> Option to export data (entries, users)
|
|
2029
|
-
<options: entries|users>
|
|
2028
|
+
--action=<option> Option to export data (entries, users, teams)
|
|
2029
|
+
<options: entries|users|teams>
|
|
2030
2030
|
--branch=<value> Branch from which entries need to be exported
|
|
2031
2031
|
--content-type=<value> Content type for which entries needs to be exported
|
|
2032
2032
|
--locale=<value> Locale for which entries need to be exported
|
|
2033
2033
|
--org=<value> Provide organization UID to clone org users
|
|
2034
2034
|
--org-name=<value> Name of the organization that needs to be created as csv filename.
|
|
2035
|
+
--team-uid=<value> Uid of the team whose user data and stack roles are required
|
|
2035
2036
|
|
|
2036
2037
|
DESCRIPTION
|
|
2037
2038
|
Export entries or organization users to csv using this command
|
|
@@ -2062,6 +2063,36 @@ EXAMPLES
|
|
|
2062
2063
|
Exporting organization users to csv with organization name provided
|
|
2063
2064
|
|
|
2064
2065
|
$ csdx cm:export-to-csv --action <users> --org <org-uid> --org-name <org-name>
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
Exporting Organizations Teams to CSV
|
|
2070
|
+
|
|
2071
|
+
$ csdx cm:export-to-csv --action <teams>
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
Exporting Organizations Teams to CSV with org-uid
|
|
2076
|
+
|
|
2077
|
+
$ csdx cm:export-to-csv --action <teams> --org <org-uid>
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
Exporting Organizations Teams to CSV with team uid
|
|
2082
|
+
|
|
2083
|
+
$ csdx cm:export-to-csv --action <teams> --team-uid <team-uid>
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
Exporting Organizations Teams to CSV with org-uid and team uid
|
|
2088
|
+
|
|
2089
|
+
$ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid>
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
Exporting Organizations Teams to CSV with org-uid and team uid
|
|
2094
|
+
|
|
2095
|
+
$ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid> --org-name <org-name>
|
|
2065
2096
|
```
|
|
2066
2097
|
|
|
2067
2098
|
_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)_
|
package/oclif.manifest.json
CHANGED
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.10.
|
|
4
|
+
"version": "1.10.1",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.2.
|
|
26
|
-
"@contentstack/cli-auth": "~1.3.
|
|
27
|
-
"@contentstack/cli-cm-bootstrap": "~1.6.
|
|
28
|
-
"@contentstack/cli-cm-branches": "~1.0.
|
|
29
|
-
"@contentstack/cli-cm-bulk-publish": "~1.3.
|
|
30
|
-
"@contentstack/cli-cm-clone": "~1.6.
|
|
31
|
-
"@contentstack/cli-cm-export": "~1.9.
|
|
32
|
-
"@contentstack/cli-cm-export-to-csv": "~1.
|
|
33
|
-
"@contentstack/cli-cm-import": "~1.10.
|
|
34
|
-
"@contentstack/cli-cm-migrate-rte": "~1.4.
|
|
35
|
-
"@contentstack/cli-cm-seed": "~1.6.
|
|
36
|
-
"@contentstack/cli-command": "~1.2.
|
|
37
|
-
"@contentstack/cli-config": "~1.4.
|
|
38
|
-
"@contentstack/cli-launch": "~1.0.
|
|
39
|
-
"@contentstack/cli-migration": "~1.3.
|
|
40
|
-
"@contentstack/cli-utilities": "~1.5.
|
|
41
|
-
"@contentstack/management": "~1.
|
|
25
|
+
"@contentstack/cli-audit": "~1.2.1",
|
|
26
|
+
"@contentstack/cli-auth": "~1.3.16",
|
|
27
|
+
"@contentstack/cli-cm-bootstrap": "~1.6.1",
|
|
28
|
+
"@contentstack/cli-cm-branches": "~1.0.16",
|
|
29
|
+
"@contentstack/cli-cm-bulk-publish": "~1.3.14",
|
|
30
|
+
"@contentstack/cli-cm-clone": "~1.6.1",
|
|
31
|
+
"@contentstack/cli-cm-export": "~1.9.3",
|
|
32
|
+
"@contentstack/cli-cm-export-to-csv": "~1.5.0",
|
|
33
|
+
"@contentstack/cli-cm-import": "~1.10.1",
|
|
34
|
+
"@contentstack/cli-cm-migrate-rte": "~1.4.14",
|
|
35
|
+
"@contentstack/cli-cm-seed": "~1.6.1",
|
|
36
|
+
"@contentstack/cli-command": "~1.2.15",
|
|
37
|
+
"@contentstack/cli-config": "~1.4.14",
|
|
38
|
+
"@contentstack/cli-launch": "~1.0.14",
|
|
39
|
+
"@contentstack/cli-migration": "~1.3.15",
|
|
40
|
+
"@contentstack/cli-utilities": "~1.5.5",
|
|
41
|
+
"@contentstack/management": "~1.11.0",
|
|
42
42
|
"@oclif/core": "^2.9.3",
|
|
43
43
|
"@oclif/plugin-help": "^5",
|
|
44
44
|
"@oclif/plugin-not-found": "^2.4.0",
|