Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fileignoreconfig:
- filename: package-lock.json
checksum: 484e310f7e8884916149057a6581e655503d6977021f54da4cfdb31558820ffc
checksum: 89ffba962ccbfba165c69bc20c5efdac59a06dd8522983442401a3c525e9951f
- filename: pnpm-lock.yaml
checksum: 3cdef03a4cdc334dd5ab432ab9dfa9c35f529ed5f744d5a44a4bff68f1e43ead
- filename: packages/contentstack-import-setup/test/unit/backup-handler.test.ts
Expand Down Expand Up @@ -32,7 +32,7 @@ fileignoreconfig:
- filename: packages/contentstack-import-setup/test/unit/login-handler.test.ts
checksum: e549f9ca3a9aae0d93b7284f7e771d55c0610725ddcb4333612df2f215e92769
- filename: packages/contentstack/README.md
checksum: f46084b199b3b0d7986b363c86a657570def71e5da29b948cc343eaf94ec7e97
checksum: 10f580c697d0b70b813428954b946e60609f41c42e78ca95ca3232443e725615
- filename: packages/contentstack-import-setup/test/unit/modules/assets.test.ts
checksum: 449a5e3383631a6f78d1291aa3c28c91681879289398f0a933158fba5c5d5acf
- filename: packages/contentstack-auth/env.example
Expand Down
1,176 changes: 575 additions & 601 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/contentstack-bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-bootstrap",
"description": "Bootstrap contentstack apps",
"version": "1.16.1",
"version": "1.17.0",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"scripts": {
Expand All @@ -16,7 +16,7 @@
"test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\""
},
"dependencies": {
"@contentstack/cli-cm-seed": "~1.12.2",
"@contentstack/cli-cm-seed": "~1.13.0",
"@contentstack/cli-command": "~1.6.1",
"@contentstack/cli-utilities": "~1.14.4",
"@oclif/core": "^4.3.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-clone/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@contentstack/cli-cm-clone",
"description": "Contentstack stack clone plugin",
"version": "1.16.1",
"version": "1.17.0",
"author": "Contentstack",
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
"dependencies": {
"@colors/colors": "^1.6.0",
"@contentstack/cli-cm-export": "~1.20.1",
"@contentstack/cli-cm-import": "~1.28.4",
"@contentstack/cli-cm-export": "~1.21.0",
"@contentstack/cli-cm-import": "~1.29.0",
"@contentstack/cli-command": "~1.6.1",
"@contentstack/cli-utilities": "~1.14.4",
"@oclif/core": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ USAGE
[--personalize <value>] [--launch <value>]

ARGUMENTS
REGION Name for the region
[REGION] Name for the region

FLAGS
-d, --cda=<value> Custom host to set for content delivery API, if this flag is added then cma, ui-host and
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-export-to-csv/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-export-to-csv",
"description": "Export entities to csv",
"version": "1.9.1",
"version": "1.10.0",
"author": "Abhinav Gupta @abhinav-from-contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-export/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-export",
"description": "Contentstack CLI plugin to export content from stack",
"version": "1.20.2",
"version": "1.21.0",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/contentstack-import-setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import-setup
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-import-setup/1.6.0 darwin-arm64 node-v22.13.1
@contentstack/cli-cm-import-setup/1.6.0 darwin-arm64 node-v22.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -78,8 +78,8 @@ FLAGS
branches involved, then the path should point till the particular branch. For example,
“-d "C:\Users\Name\Desktop\cli\content\branch_name"
-k, --stack-api-key=<value> API key of the target stack
--branch-alias=<value> The alias of the branch where you want to import your content. If you don't mention the
branch alias, then by default the content will be imported to the main branch.
--branch-alias=<value> Specify the branch alias where you want to import your content. If not specified, the
content is imported into the main branch by default.
--module=<option>... [optional] Specify the modules/module to import into the target stack. currently options
are global-fields, content-types, entries
<options: global-fields|content-types|entries>
Expand Down Expand Up @@ -115,8 +115,8 @@ FLAGS
branches involved, then the path should point till the particular branch. For example,
“-d "C:\Users\Name\Desktop\cli\content\branch_name"
-k, --stack-api-key=<value> API key of the target stack
--branch-alias=<value> The alias of the branch where you want to import your content. If you don't mention the
branch alias, then by default the content will be imported to the main branch.
--branch-alias=<value> Specify the branch alias where you want to import your content. If not specified, the
content is imported into the main branch by default.
--module=<option>... [optional] Specify the modules/module to import into the target stack. currently options
are global-fields, content-types, entries
<options: global-fields|content-types|entries>
Expand Down
12 changes: 5 additions & 7 deletions packages/contentstack-import/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-import/1.28.1 darwin-arm64 node-v22.14.0
@contentstack/cli-cm-import/1.29.0 darwin-arm64 node-v22.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -91,9 +91,8 @@ FLAGS
extensions, marketplace-apps, global-fields, labels, locales, webhooks,
workflows, custom-roles, personalize projects, and taxonomies.
-y, --yes [optional] Force override all Marketplace prompts.
--branch-alias=<value> The alias of the branch where you want to import your content. If you don't
mention the branch alias, then by default the content will be imported to the
main branch.
--branch-alias=<value> 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=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
same state of webhooks as the source stack. <options: disable|current>
Expand Down Expand Up @@ -160,9 +159,8 @@ FLAGS
extensions, marketplace-apps, global-fields, labels, locales, webhooks,
workflows, custom-roles, personalize projects, and taxonomies.
-y, --yes [optional] Force override all Marketplace prompts.
--branch-alias=<value> The alias of the branch where you want to import your content. If you don't
mention the branch alias, then by default the content will be imported to the
main branch.
--branch-alias=<value> 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=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
same state of webhooks as the source stack. <options: disable|current>
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-import/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-import",
"description": "Contentstack CLI plugin to import content into stack",
"version": "1.28.4",
"version": "1.29.0",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-migration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-migration",
"version": "1.9.0",
"version": "1.10.0",
"author": "@contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-seed/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@contentstack/cli-cm-seed",
"description": "create a Stack from existing content types, entries, assets, etc.",
"version": "1.12.2",
"version": "1.13.0",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
"@contentstack/cli-cm-import": "~1.28.4",
"@contentstack/cli-cm-import": "~1.29.0",
"@contentstack/cli-command": "~1.6.1",
"@contentstack/cli-utilities": "~1.14.4",
"@contentstack/management": "~1.22.0",
Expand Down
88 changes: 56 additions & 32 deletions packages/contentstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli/1.50.0 darwin-arm64 node-v22.14.0
@contentstack/cli/1.52.0 darwin-arm64 node-v22.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -335,7 +335,7 @@ FLAGS
-e, --environment=<value> Environment name for delivery token
-k, --stack-api-key=<value> Stack API Key
-m, --management Set this flag to save management token
-t, --token=<value> Add the token name
-t, --token=<value> [env: TOKEN] Add the token name
-y, --yes Use this flag to skip confirmation

DESCRIPTION
Expand Down Expand Up @@ -2238,24 +2238,30 @@ Export entries, taxonomies, terms or organization users to csv using this comman
USAGE
$ csdx cm:export-to-csv [--action entries|users|teams|taxonomies] [-a <value>] [--org <value>] [-n <value>] [-k
<value>] [--org-name <value>] [--locale <value>] [--content-type <value>] [--branch <value>] [--team-uid <value>]
[--taxonomy-uid <value>] [--delimiter <value>]
[--taxonomy-uid <value>] [--include-fallback] [--fallback-locale <value>] [--delimiter <value>]

FLAGS
-a, --alias=<value> Alias of the management token.
-k, --stack-api-key=<value> API Key of the source stack.
-n, --stack-name=<value> Name of the stack that needs to be created as CSV filename.
--action=<option> Option to export data (entries, users, teams, taxonomies). <options:
entries|users|teams|taxonomies>
<options: entries|users|teams|taxonomies>
--branch=<value> Branch from which entries will be exported.
--content-type=<value> Content type of entries that will be exported.
--delimiter=<value> [default: ,] [optional] Provide a delimiter to separate individual data fields within the
CSV file. For example: cm:export-to-csv --delimiter '|'
--locale=<value> Locale of entries that will be exported.
--org=<value> Provide organization UID to clone org users.
--org-name=<value> Name of the organization that needs to be created as CSV filename.
--taxonomy-uid=<value> Provide the taxonomy UID of the related terms you want to export.
--team-uid=<value> Provide the UID of a specific team in an organization.
-a, --alias=<value> Alias of the management token.
-k, --stack-api-key=<value> API Key of the source stack.
-n, --stack-name=<value> Name of the stack that needs to be created as CSV filename.
--action=<option> Option to export data (entries, users, teams, taxonomies). <options:
entries|users|teams|taxonomies>
<options: entries|users|teams|taxonomies>
--branch=<value> Branch from which entries will be exported.
--content-type=<value> Content type of entries that will be exported.
--delimiter=<value> [default: ,] [optional] Provide a delimiter to separate individual data fields within
the CSV file. For example: cm:export-to-csv --delimiter '|'
--fallback-locale=<value> [Optional] Specify a specific fallback locale for taxonomy export. This locale will be
used when a taxonomy term doesn't exist in the primary locale. Takes priority over
branch fallback hierarchy when both are specified.
--include-fallback [Optional] Include fallback locale data when exporting taxonomies. When enabled, if a
taxonomy term doesn't exist in the specified locale, it will fallback to the hierarchy
defined in the branch settings.
--locale=<value> Locale of entries that will be exported.
--org=<value> Provide organization UID to clone org users.
--org-name=<value> Name of the organization that needs to be created as CSV filename.
--taxonomy-uid=<value> Provide the taxonomy UID of the related terms you want to export.
--team-uid=<value> Provide the UID of a specific team in an organization.

DESCRIPTION
Export entries, taxonomies, terms or organization users to csv using this command
Expand Down Expand Up @@ -2334,6 +2340,24 @@ EXAMPLES
Exporting taxonomies and respective terms to a .CSV file with a delimiter

$ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --delimiter <delimiter>



Exporting taxonomies with specific locale

$ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --locale <locale>



Exporting taxonomies with fallback locale support

$ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --locale <locale> --include-fallback



Exporting taxonomies with custom fallback locale

$ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --locale <locale> --include-fallback --fallback-locale <fallback-locale>
```

_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)_
Expand Down Expand Up @@ -3649,7 +3673,7 @@ USAGE
[--personalize <value>] [--launch <value>]

ARGUMENTS
REGION Name for the region
[REGION] Name for the region

FLAGS
-d, --cda=<value> Custom host to set for content delivery API, if this flag is added then cma, ui-host and
Expand Down Expand Up @@ -3705,7 +3729,7 @@ USAGE
$ csdx help [COMMAND...] [-n]

ARGUMENTS
COMMAND... Command to show help for.
[COMMAND...] Command to show help for.

FLAGS
-n, --nested-commands Include all nested commands in the output.
Expand All @@ -3714,7 +3738,7 @@ DESCRIPTION
Display help for csdx.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.33/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.34/src/commands/help.ts)_

## `csdx launch`

Expand Down Expand Up @@ -3855,7 +3879,7 @@ USAGE
$ csdx launch:functions [-p <value>] [-d <value>]

FLAGS
-d, --data-dir=<value> [default: /cli/packages/contentstack] Current working directory
-d, --data-dir=<value> [default: /Users/sunil.lakshman/Documents/cli/packages/contentstack] Current working directory
-p, --port=<value> [default: 3000] Port number

DESCRIPTION
Expand Down Expand Up @@ -4031,7 +4055,7 @@ EXAMPLES
$ csdx plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/index.ts)_

## `csdx plugins:add PLUGIN`

Expand Down Expand Up @@ -4105,7 +4129,7 @@ EXAMPLES
$ csdx plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/inspect.ts)_

## `csdx plugins:install PLUGIN`

Expand Down Expand Up @@ -4154,7 +4178,7 @@ EXAMPLES
$ csdx plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/install.ts)_

## `csdx plugins:link PATH`

Expand Down Expand Up @@ -4185,7 +4209,7 @@ EXAMPLES
$ csdx plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/link.ts)_

## `csdx plugins:remove [PLUGIN]`

Expand All @@ -4196,7 +4220,7 @@ USAGE
$ csdx plugins:remove [PLUGIN...] [-h] [-v]

ARGUMENTS
PLUGIN... plugin to uninstall
[PLUGIN...] plugin to uninstall

FLAGS
-h, --help Show CLI help.
Expand Down Expand Up @@ -4226,7 +4250,7 @@ FLAGS
--reinstall Reinstall all plugins after uninstalling.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/reset.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/reset.ts)_

## `csdx plugins:uninstall [PLUGIN]`

Expand All @@ -4237,7 +4261,7 @@ USAGE
$ csdx plugins:uninstall [PLUGIN...] [-h] [-v]

ARGUMENTS
PLUGIN... plugin to uninstall
[PLUGIN...] plugin to uninstall

FLAGS
-h, --help Show CLI help.
Expand All @@ -4254,7 +4278,7 @@ EXAMPLES
$ csdx plugins:uninstall myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/uninstall.ts)_

## `csdx plugins:unlink [PLUGIN]`

Expand All @@ -4265,7 +4289,7 @@ USAGE
$ csdx plugins:unlink [PLUGIN...] [-h] [-v]

ARGUMENTS
PLUGIN... plugin to uninstall
[PLUGIN...] plugin to uninstall

FLAGS
-h, --help Show CLI help.
Expand Down Expand Up @@ -4298,7 +4322,7 @@ DESCRIPTION
Update installed plugins.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.52/src/commands/plugins/update.ts)_

## `csdx tokens`

Expand Down
Loading