@contentstack/cli 1.10.1 → 1.11.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 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.1 linux-x64 node-v18.18.2
21
+ @contentstack/cli/1.11.0 linux-x64 node-v18.18.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -2014,28 +2014,32 @@ EXAMPLES
2014
2014
 
2015
2015
  ## `csdx cm:export-to-csv`
2016
2016
 
2017
- Export entries or organization users to csv using this command
2017
+ Export entries, taxonomies, terms or organization users to csv using this command
2018
2018
 
2019
2019
  ```
2020
2020
  USAGE
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>]
2021
+ $ csdx cm:export-to-csv [--action entries|users|teams|taxonomies] [-a <value>] [--org <value>] [-n <value>] [-k
2022
+ <value>] [--org-name <value>] [--locale <value>] [--content-type <value>] [--branch <value>] [--team-uid <value>]
2023
+ [--taxonomy-uid <value>] [--delimiter <value>]
2023
2024
 
2024
2025
  FLAGS
2025
2026
  -a, --alias=<value> Alias of the management token
2026
2027
  -k, --stack-api-key=<value> API key of the source stack
2027
2028
  -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, teams)
2029
- <options: entries|users|teams>
2029
+ --action=<option> Option to export data (entries, users, teams, taxonomies)
2030
+ <options: entries|users|teams|taxonomies>
2030
2031
  --branch=<value> Branch from which entries need to be exported
2031
2032
  --content-type=<value> Content type for which entries needs to be exported
2033
+ --delimiter=<value> [default: ,] [optional] Provide a delimiter to separate individual data fields within the
2034
+ CSV file.
2032
2035
  --locale=<value> Locale for which entries need to be exported
2033
2036
  --org=<value> Provide organization UID to clone org users
2034
2037
  --org-name=<value> Name of the organization that needs to be created as csv filename.
2038
+ --taxonomy-uid=<value> Provide the taxonomy UID of the related terms you want to export
2035
2039
  --team-uid=<value> Uid of the team whose user data and stack roles are required
2036
2040
 
2037
2041
  DESCRIPTION
2038
- Export entries or organization users to csv using this command
2042
+ Export entries, taxonomies, terms or organization users to csv using this command
2039
2043
 
2040
2044
  EXAMPLES
2041
2045
  $ csdx cm:export-to-csv
@@ -2093,6 +2097,24 @@ EXAMPLES
2093
2097
  Exporting Organizations Teams to CSV with org-uid and team uid
2094
2098
 
2095
2099
  $ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid> --org-name <org-name>
2100
+
2101
+
2102
+
2103
+ Exporting taxonomies and related terms to a .CSV file with the provided taxonomy UID
2104
+
2105
+ $ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --taxonomy-uid <taxonomy-uid>
2106
+
2107
+
2108
+
2109
+ Exporting taxonomies and respective terms to a .CSV file
2110
+
2111
+ $ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias>
2112
+
2113
+
2114
+
2115
+ Exporting taxonomies and respective terms to a .CSV file with a delimiter
2116
+
2117
+ $ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --delimiter <delimiter>
2096
2118
  ```
2097
2119
 
2098
2120
  _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)_
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.10.1",
2
+ "version": "1.11.0",
3
3
  "commands": {}
4
4
  }
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.1",
4
+ "version": "1.11.0",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run"
@@ -24,21 +24,21 @@
24
24
  "dependencies": {
25
25
  "@contentstack/cli-audit": "~1.2.1",
26
26
  "@contentstack/cli-auth": "~1.3.16",
27
- "@contentstack/cli-cm-bootstrap": "~1.6.1",
27
+ "@contentstack/cli-cm-bootstrap": "~1.6.2",
28
28
  "@contentstack/cli-cm-branches": "~1.0.16",
29
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",
30
+ "@contentstack/cli-cm-clone": "~1.7.0",
31
+ "@contentstack/cli-cm-export": "~1.10.0",
32
+ "@contentstack/cli-cm-export-to-csv": "~1.6.0",
33
+ "@contentstack/cli-cm-import": "~1.11.0",
34
34
  "@contentstack/cli-cm-migrate-rte": "~1.4.14",
35
- "@contentstack/cli-cm-seed": "~1.6.1",
35
+ "@contentstack/cli-cm-seed": "~1.6.2",
36
36
  "@contentstack/cli-command": "~1.2.15",
37
37
  "@contentstack/cli-config": "~1.4.14",
38
38
  "@contentstack/cli-launch": "~1.0.14",
39
- "@contentstack/cli-migration": "~1.3.15",
39
+ "@contentstack/cli-migration": "~1.4.0",
40
40
  "@contentstack/cli-utilities": "~1.5.5",
41
- "@contentstack/management": "~1.11.0",
41
+ "@contentstack/management": "~1.12.0",
42
42
  "@oclif/core": "^2.9.3",
43
43
  "@oclif/plugin-help": "^5",
44
44
  "@oclif/plugin-not-found": "^2.4.0",