@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
4747$ csdx COMMAND
4848running command...
4949$ csdx (--version)
50- @contentstack/cli-cm-import/2.0.0-beta.2 darwin-arm64 node-v24.11.1
50+ @contentstack/cli-cm-import/2.0.0-beta.3 darwin-arm64 node-v24.11.1
5151$ csdx --help [COMMAND]
5252USAGE
5353 $ csdx COMMAND
@@ -58,25 +58,20 @@ USAGE
5858# Commands
5959
6060<!-- commands -->
61- * [ ` csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current] ` ] ( #csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent )
62- * [ ` csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current] ` ] ( #csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent )
61+ * [ ` csdx cm:stacks:import [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current] ` ] ( #csdx-cmstacksimport---config-value---stack-api-key-value---data-dir-value---alias-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent )
6362
64- ## ` csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current] `
63+ ## ` csdx cm:stacks:import [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current] `
6564
6665Import content from a stack
6766
6867```
6968USAGE
70- $ csdx cm:import cm: stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>]
71- [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current]
69+ $ csdx cm:stacks:import [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>]
70+ [--module <value>] [-- backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current]
7271
7372FLAGS
74- -B, --branch=<value> The name of the branch where you want to import your content. If you don't
75- mention the branch name, then by default the content will be imported to the
76- main branch.
7773 -a, --alias=<value> The management token of the destination stack where you will import the
7874 content.
79- -b, --backup-dir=<value> [optional] Backup directory name when using specific module.
8075 -c, --config=<value> [optional] The path of the configuration JSON file containing all the options
8176 for a single run.
8277 -d, --data-dir=<value> The path or the location in your file system where the content, you intend to
@@ -85,89 +80,24 @@ FLAGS
8580 particular branch. For example, “-d
8681 "C:\Users\Name\Desktop\cli\content\branch_name"
8782 -k, --stack-api-key=<value> API Key of the target stack
88- -m, --module=<value> [optional] Specify the module to import into the target stack. If not
89- specified, the import command will import all the modules into the stack. The
90- available modules are assets, content-types, entries, environments,
91- extensions, marketplace-apps, global-fields, labels, locales, webhooks,
92- workflows, custom-roles, personalize projects, and taxonomies.
9383 -y, --yes [optional] Force override all Marketplace prompts.
84+ --backup-dir=<value> [optional] Backup directory name when using specific module.
85+ --branch=<value> The name of the branch where you want to import your content. If you don't
86+ mention the branch name, then by default the content will be imported to the
87+ main branch.
9488 --branch-alias=<value> Specify the branch alias where you want to import your content. If not
9589 specified, the content is imported into the main branch by default.
9690 --exclude-global-modules Excludes the branch-independent module from the import operation.
9791 --import-webhook-status=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
9892 same state of webhooks as the source stack. <options: disable|current>
9993 <options: disable|current>
100- --personalize-project-name=<value> (optional) Provide a unique name for the Personalize project.
101- --replace-existing Replaces the existing module in the target stack.
102- --skip-app-recreation (optional) Skips the recreation of private apps if they already exist.
103- --skip-assets-publish Skips asset publishing during the import process.
104- --skip-audit Skips the audit fix that occurs during an import operation.
105- --skip-entries-publish Skips entry publishing during the import process
106- --skip-existing Skips the module exists warning messages.
107-
108- DESCRIPTION
109- Import content from a stack
110-
111- ALIASES
112- $ csdx cm:import
113-
114- EXAMPLES
115- $ csdx cm:stacks:import --stack-api-key <stack_api_key> --data-dir <path/of/export/destination/dir>
116-
117- $ csdx cm:stacks:import --config <path/of/config/dir>
118-
119- $ csdx cm:stacks:import --module <single module name>
120-
121- $ csdx cm:stacks:import --module <single module name> --backup-dir <backup dir>
122-
123- $ csdx cm:stacks:import --alias <management_token_alias>
124-
125- $ csdx cm:stacks:import --alias <management_token_alias> --data-dir <path/of/export/destination/dir>
126-
127- $ csdx cm:stacks:import --alias <management_token_alias> --config <path/of/config/file>
128-
129- $ csdx cm:stacks:import --branch <branch name> --yes --skip-audit
130- ```
131-
132- ## ` csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current] `
133-
134- Import content from a stack
135-
136- ```
137- USAGE
138- $ csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir
139- <value>] [--branch <value>] [--import-webhook-status disable|current]
140-
141- FLAGS
142- -B, --branch=<value> The name of the branch where you want to import your content. If you don't
143- mention the branch name, then by default the content will be imported to the
144- main branch.
145- -a, --alias=<value> The management token of the destination stack where you will import the
146- content.
147- -b, --backup-dir=<value> [optional] Backup directory name when using specific module.
148- -c, --config=<value> [optional] The path of the configuration JSON file containing all the options
149- for a single run.
150- -d, --data-dir=<value> The path or the location in your file system where the content, you intend to
151- import, is stored. For example, -d "C:\Users\Name\Desktop\cli\content". If the
152- export folder has branches involved, then the path should point till the
153- particular branch. For example, “-d
154- "C:\Users\Name\Desktop\cli\content\branch_name"
155- -k, --stack-api-key=<value> API Key of the target stack
156- -m, --module=<value> [optional] Specify the module to import into the target stack. If not
94+ --module=<value> [optional] Specify the module to import into the target stack. If not
15795 specified, the import command will import all the modules into the stack. The
15896 available modules are assets, content-types, entries, environments,
15997 extensions, marketplace-apps, global-fields, labels, locales, webhooks,
16098 workflows, custom-roles, personalize projects, and taxonomies.
161- -y, --yes [optional] Force override all Marketplace prompts.
162- --branch-alias=<value> Specify the branch alias where you want to import your content. If not
163- specified, the content is imported into the main branch by default.
164- --exclude-global-modules Excludes the branch-independent module from the import operation.
165- --import-webhook-status=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
166- same state of webhooks as the source stack. <options: disable|current>
167- <options: disable|current>
16899 --personalize-project-name=<value> (optional) Provide a unique name for the Personalize project.
169100 --replace-existing Replaces the existing module in the target stack.
170- --skip-app-recreation (optional) Skips the recreation of private apps if they already exist.
171101 --skip-assets-publish Skips asset publishing during the import process.
172102 --skip-audit Skips the audit fix that occurs during an import operation.
173103 --skip-entries-publish Skips entry publishing during the import process
@@ -176,9 +106,6 @@ FLAGS
176106DESCRIPTION
177107 Import content from a stack
178108
179- ALIASES
180- $ csdx cm:import
181-
182109EXAMPLES
183110 $ csdx cm:stacks:import --stack-api-key <stack_api_key> --data-dir <path/of/export/destination/dir>
184111
0 commit comments