@@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export
4848$ csdx COMMAND
4949running command...
5050$ csdx (--version)
51- @contentstack/cli-cm-export/2.0.0-beta.2 darwin-arm64 node-v24.11.1
51+ @contentstack/cli-cm-export/2.0.0-beta.3 darwin-arm64 node-v24.11.1
5252$ csdx --help [COMMAND]
5353USAGE
5454 $ csdx COMMAND
@@ -59,93 +59,39 @@ USAGE
5959# Commands
6060
6161<!-- commands -->
62- * [ ` csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets] ` ] ( #csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets )
63- * [ ` csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets] ` ] ( #csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets )
62+ * [ ` csdx cm:stacks:export [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets] ` ] ( #csdx-cmstacksexport---config-value---stack-api-key-value---data-dir-value---alias-value---module-value---content-types-value---branch-value---secured-assets )
6463
65- ## ` csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets] `
64+ ## ` csdx cm:stacks:export [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets] `
6665
6766Export content from a stack
6867
6968```
7069USAGE
71- $ csdx cm:export cm: stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>]
72- [--content-types <value>] [--branch <value>] [--secured-assets]
70+ $ csdx cm:stacks:export [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>]
71+ [--module <value>] [-- content-types <value>] [--branch <value>] [--secured-assets]
7372
7473FLAGS
75- -B, --branch=<value> [optional] The name of the branch where you want to export your content. If you don't
76- mention the branch name, then by default the content will be exported from all the
77- branches of your stack.
7874 -a, --alias=<value> The management token alias of the source stack from which you will export content.
7975 -c, --config=<value> [optional] Path of the config
8076 -d, --data-dir=<value> The path or the location in your file system to store the exported content. For e.g.,
8177 ./content
8278 -k, --stack-api-key=<value> API Key of the source stack
83- -m, --module=<value> [optional] Specific module name. If not specified, the export command will export all
84- the modules to the stack. The available modules are assets, content-types, entries,
85- environments, extensions, marketplace-apps, global-fields, labels, locales, webhooks,
86- workflows, custom-roles, and taxonomies.
87- -t, --content-types=<value>... [optional] The UID of the content type(s) whose content you want to export. In case
88- of multiple content types, specify the IDs separated by spaces.
8979 -y, --yes [optional] Force override all Marketplace prompts.
90- --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
91- --secured-assets [optional] Use this flag for assets that are secured.
92-
93- DESCRIPTION
94- Export content from a stack
95-
96- ALIASES
97- $ csdx cm:export
98-
99- EXAMPLES
100- $ csdx cm:stacks:export --stack-api-key <stack_api_key> --data-dir <path/of/export/destination/dir>
101-
102- $ csdx cm:stacks:export --config <path/to/config/dir>
103-
104- $ csdx cm:stacks:export --alias <management_token_alias>
105-
106- $ csdx cm:stacks:export --alias <management_token_alias> --data-dir <path/to/export/destination/dir>
107-
108- $ csdx cm:stacks:export --alias <management_token_alias> --config <path/to/config/file>
109-
110- $ csdx cm:stacks:export --module <single module name>
111-
112- $ csdx cm:stacks:export --branch [optional] branch name
113- ```
114-
115- ## ` csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets] `
116-
117- Export content from a stack
118-
119- ```
120- USAGE
121- $ csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types
122- <value>] [--branch <value>] [--secured-assets]
123-
124- FLAGS
125- -B, --branch=<value> [optional] The name of the branch where you want to export your content. If you don't
80+ --branch=<value> [optional] The name of the branch where you want to export your content. If you don't
12681 mention the branch name, then by default the content will be exported from all the
12782 branches of your stack.
128- -a, --alias=<value> The management token alias of the source stack from which you will export content.
129- -c, --config=<value> [optional] Path of the config
130- -d, --data-dir=<value> The path or the location in your file system to store the exported content. For e.g.,
131- ./content
132- -k, --stack-api-key=<value> API Key of the source stack
133- -m, --module=<value> [optional] Specific module name. If not specified, the export command will export all
83+ --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
84+ --content-types=<value>... [optional] The UID of the content type(s) whose content you want to export. In case
85+ of multiple content types, specify the IDs separated by spaces.
86+ --module=<value> [optional] Specific module name. If not specified, the export command will export all
13487 the modules to the stack. The available modules are assets, content-types, entries,
13588 environments, extensions, marketplace-apps, global-fields, labels, locales, webhooks,
13689 workflows, custom-roles, and taxonomies.
137- -t, --content-types=<value>... [optional] The UID of the content type(s) whose content you want to export. In case
138- of multiple content types, specify the IDs separated by spaces.
139- -y, --yes [optional] Force override all Marketplace prompts.
140- --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
14190 --secured-assets [optional] Use this flag for assets that are secured.
14291
14392DESCRIPTION
14493 Export content from a stack
14594
146- ALIASES
147- $ csdx cm:export
148-
14995EXAMPLES
15096 $ csdx cm:stacks:export --stack-api-key <stack_api_key> --data-dir <path/of/export/destination/dir>
15197
0 commit comments