diff --git a/.talismanrc b/.talismanrc index 13b0e5b7b9..a323fc7488 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,12 +1,8 @@ fileignoreconfig: - - filename: package-lock.json - checksum: 7ab88b768020473414a7322e16c04b5b5a73b0122742b79b57f6e48bf39ae511 - - filename: pnpm-lock.yaml - checksum: 1f9e4ddfd5db6a7677515bb1af1373d75bc83dbc755a99515808394df5d593d5 - - filename: packages/contentstack-export/src/commands/cm/stacks/export.ts - checksum: a6cc98499a304a63f520e713c85ff707ca904044e15f095fa7498a5f602d57c5 - - filename: packages/contentstack-export/README.md - checksum: 8b9f38642faa3b8fb5b2a35a6fe79b74862aeb32c318a1346a117fefea1291cd + - filename: packages/contentstack-import/src/commands/cm/stacks/import.ts + checksum: 22dec1acd2e5716cee5a22c834ee3292f8e822fd12db97eae412b9f004b15b70 - filename: packages/contentstack/README.md - checksum: b746ebdb433947d6117694d33739b56d679d3fe1e18bc0a177f60b6a1f553ac9 + checksum: 69123c5e5b8580b8b20831fa1473b7c697e4aa336785ae08bda0d62a8e87794c + - filename: packages/contentstack-import/README.md + checksum: d17b25a28389abba3e7d90fe597dbdcbf705276acedc7b0beb1c5064f70fd5fd version: '1.0' diff --git a/package-lock.json b/package-lock.json index fd4f314017..f60b3d77e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26458,7 +26458,7 @@ "@contentstack/cli-cm-clone": "~2.0.0-beta.3", "@contentstack/cli-cm-export": "~2.0.0-beta.3", "@contentstack/cli-cm-export-to-csv": "~1.10.0", - "@contentstack/cli-cm-import": "~2.0.0-beta.2", + "@contentstack/cli-cm-import": "~2.0.0-beta.3", "@contentstack/cli-cm-import-setup": "1.7.0", "@contentstack/cli-cm-seed": "~2.0.0-beta.2", "@contentstack/cli-command": "~1.6.2", @@ -27144,7 +27144,7 @@ "dependencies": { "@colors/colors": "^1.6.0", "@contentstack/cli-cm-export": "~2.0.0-beta.3", - "@contentstack/cli-cm-import": "~2.0.0-beta.2", + "@contentstack/cli-cm-import": "~2.0.0-beta.3", "@contentstack/cli-command": "~1.6.1", "@contentstack/cli-utilities": "~1.15.0", "@oclif/core": "^4.3.0", @@ -28482,7 +28482,7 @@ }, "packages/contentstack-import": { "name": "@contentstack/cli-cm-import", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "license": "MIT", "dependencies": { "@contentstack/cli-audit": "~1.16.0", @@ -28718,7 +28718,7 @@ "version": "2.0.0-beta.3", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-import": "~2.0.0-beta.2", + "@contentstack/cli-cm-import": "~2.0.0-beta.3", "@contentstack/cli-command": "~1.6.1", "@contentstack/cli-utilities": "~1.15.0", "@contentstack/management": "~1.22.0", diff --git a/packages/contentstack-audit/README.md b/packages/contentstack-audit/README.md index d22d1fae16..f40154fab3 100644 --- a/packages/contentstack-audit/README.md +++ b/packages/contentstack-audit/README.md @@ -272,5 +272,5 @@ DESCRIPTION Display help for csdx. ``` -_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.35/src/commands/help.ts)_ +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.36/src/commands/help.ts)_ diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index b94e130116..b99057085f 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -7,7 +7,7 @@ "dependencies": { "@colors/colors": "^1.6.0", "@contentstack/cli-cm-export": "~2.0.0-beta.3", - "@contentstack/cli-cm-import": "~2.0.0-beta.2", + "@contentstack/cli-cm-import": "~2.0.0-beta.3", "@contentstack/cli-command": "~1.6.1", "@contentstack/cli-utilities": "~1.15.0", "@oclif/core": "^4.3.0", diff --git a/packages/contentstack-import/README.md b/packages/contentstack-import/README.md index 9773c4a7b7..e99ed81e3d 100644 --- a/packages/contentstack-import/README.md +++ b/packages/contentstack-import/README.md @@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-import/2.0.0-beta.2 darwin-arm64 node-v24.11.1 +@contentstack/cli-cm-import/2.0.0-beta.3 darwin-arm64 node-v24.11.1 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -58,25 +58,20 @@ USAGE # Commands -* [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--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) -* [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--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) +* [`csdx cm:stacks:import [--config ] [--stack-api-key ] [--data-dir ] [--alias ] [--module ] [--backup-dir ] [--branch ] [--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) -## `csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]` +## `csdx cm:stacks:import [--config ] [--stack-api-key ] [--data-dir ] [--alias ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]` Import content from a stack ``` USAGE - $ csdx cm:import cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] - [--backup-dir ] [--branch ] [--import-webhook-status disable|current] + $ csdx cm:stacks:import [--config ] [--stack-api-key ] [--data-dir ] [--alias ] + [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current] FLAGS - -B, --branch= The name of the branch where you want to import your content. If you don't - mention the branch name, then by default the content will be imported to the - main branch. -a, --alias= The management token of the destination stack where you will import the content. - -b, --backup-dir= [optional] Backup directory name when using specific module. -c, --config= [optional] The path of the configuration JSON file containing all the options for a single run. -d, --data-dir= The path or the location in your file system where the content, you intend to @@ -85,89 +80,24 @@ FLAGS particular branch. For example, “-d "C:\Users\Name\Desktop\cli\content\branch_name" -k, --stack-api-key= API Key of the target stack - -m, --module= [optional] Specify the module to import into the target stack. If not - specified, the import command will import all the modules into the stack. The - available modules are assets, content-types, entries, environments, - extensions, marketplace-apps, global-fields, labels, locales, webhooks, - workflows, custom-roles, personalize projects, and taxonomies. -y, --yes [optional] Force override all Marketplace prompts. + --backup-dir= [optional] Backup directory name when using specific module. + --branch= The name of the branch where you want to import your content. If you don't + mention the branch name, then by default the content will be imported to the + main branch. --branch-alias= Specify the branch alias where you want to import your content. If not specified, the content is imported into the main branch by default. --exclude-global-modules Excludes the branch-independent module from the import operation. --import-webhook-status=