@contentstack/cli 1.43.0 → 1.44.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.43.0 linux-x64 node-v22.17.0
21
+ @contentstack/cli/1.44.0 linux-x64 node-v22.17.1
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -88,6 +88,7 @@ USAGE
88
88
  * [`csdx config:get:base-branch`](#csdx-configgetbase-branch)
89
89
  * [`csdx config:get:ea-header`](#csdx-configgetea-header)
90
90
  * [`csdx config:get:early-access-header`](#csdx-configgetearly-access-header)
91
+ * [`csdx config:get:log`](#csdx-configgetlog)
91
92
  * [`csdx config:get:rate-limit`](#csdx-configgetrate-limit)
92
93
  * [`csdx config:get:region`](#csdx-configgetregion)
93
94
  * [`csdx config:remove:base-branch`](#csdx-configremovebase-branch)
@@ -97,6 +98,7 @@ USAGE
97
98
  * [`csdx config:set:base-branch`](#csdx-configsetbase-branch)
98
99
  * [`csdx config:set:ea-header`](#csdx-configsetea-header)
99
100
  * [`csdx config:set:early-access-header`](#csdx-configsetearly-access-header)
101
+ * [`csdx config:set:log`](#csdx-configsetlog)
100
102
  * [`csdx config:set:rate-limit`](#csdx-configsetrate-limit)
101
103
  * [`csdx config:set:region [REGION]`](#csdx-configsetregion-region)
102
104
  * [`csdx help [COMMAND]`](#csdx-help-command)
@@ -2353,7 +2355,7 @@ FLAGS
2353
2355
  specified, the import command will import all the modules into the stack. The
2354
2356
  available modules are assets, content-types, entries, environments,
2355
2357
  extensions, marketplace-apps, global-fields, labels, locales, webhooks,
2356
- workflows, custom-roles, and taxonomies.
2358
+ workflows, custom-roles, personalize projects, and taxonomies.
2357
2359
  -y, --yes [optional] Force override all Marketplace prompts.
2358
2360
  --exclude-global-modules Excludes the branch-independent module from the import operation.
2359
2361
  --import-webhook-status=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
@@ -2864,7 +2866,7 @@ FLAGS
2864
2866
  specified, the import command will import all the modules into the stack. The
2865
2867
  available modules are assets, content-types, entries, environments,
2866
2868
  extensions, marketplace-apps, global-fields, labels, locales, webhooks,
2867
- workflows, custom-roles, and taxonomies.
2869
+ workflows, custom-roles, personalize projects, and taxonomies.
2868
2870
  -y, --yes [optional] Force override all Marketplace prompts.
2869
2871
  --exclude-global-modules Excludes the branch-independent module from the import operation.
2870
2872
  --import-webhook-status=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
@@ -3329,6 +3331,23 @@ EXAMPLES
3329
3331
 
3330
3332
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/early-access-header.ts)_
3331
3333
 
3334
+ ## `csdx config:get:log`
3335
+
3336
+ Get logging configuration for CLI
3337
+
3338
+ ```
3339
+ USAGE
3340
+ $ csdx config:get:log
3341
+
3342
+ DESCRIPTION
3343
+ Get logging configuration for CLI
3344
+
3345
+ EXAMPLES
3346
+ $ csdx config:get:log
3347
+ ```
3348
+
3349
+ _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/log.ts)_
3350
+
3332
3351
  ## `csdx config:get:rate-limit`
3333
3352
 
3334
3353
  Get rate-limit of organizations
@@ -3531,6 +3550,30 @@ EXAMPLES
3531
3550
 
3532
3551
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/early-access-header.ts)_
3533
3552
 
3553
+ ## `csdx config:set:log`
3554
+
3555
+ Set logging configuration for CLI
3556
+
3557
+ ```
3558
+ USAGE
3559
+ $ csdx config:set:log [--level debug|info|warn|error] [--path <value>]
3560
+
3561
+ FLAGS
3562
+ --level=<option> Set the log level for the CLI.
3563
+ <options: debug|info|warn|error>
3564
+ --path=<value> Specify the file path where logs should be saved.
3565
+
3566
+ DESCRIPTION
3567
+ Set logging configuration for CLI
3568
+
3569
+ EXAMPLES
3570
+ $ csdx config:set:log
3571
+
3572
+ $ csdx config:set:log --level debug --path ./logs/app.log
3573
+ ```
3574
+
3575
+ _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/log.ts)_
3576
+
3534
3577
  ## `csdx config:set:rate-limit`
3535
3578
 
3536
3579
  Set rate-limit for CLI
@@ -3633,7 +3676,7 @@ DESCRIPTION
3633
3676
  Display help for csdx.
3634
3677
  ```
3635
3678
 
3636
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.30/src/commands/help.ts)_
3679
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.31/src/commands/help.ts)_
3637
3680
 
3638
3681
  ## `csdx launch`
3639
3682
 
@@ -3642,10 +3685,10 @@ Launch related operations
3642
3685
  ```
3643
3686
  USAGE
3644
3687
  $ csdx launch [-d <value>] [-c <value>] [--type GitHub|FileUpload] [--framework Gatsby|NextJs|CRA (Create
3645
- React App)|CSR (Client-Side Rendered)|Angular|VueJs|Other] [--org <value>] [-n <value>] [-e <value>] [--branch
3646
- <value>] [--build-command <value>] [--out-dir <value>] [--server-command <value>] [--variable-type Import variables
3647
- from a stack|Manually add custom variables to the list|Import variables from the .env.local file|Skip adding
3648
- environment variables] [-a <value>] [--env-variables <value>] [--redeploy-latest] [--redeploy-last-upload]
3688
+ React App)|CSR (Client-Side Rendered)|Angular|Nuxt|VueJs|Remix|Other] [--org <value>] [-n <value>] [-e <value>]
3689
+ [--branch <value>] [--build-command <value>] [--out-dir <value>] [--server-command <value>] [--variable-type Import
3690
+ variables from a stack|Manually add custom variables to the list|Import variables from the .env.local file|Skip
3691
+ adding environment variables] [-a <value>] [--env-variables <value>] [--redeploy-latest] [--redeploy-last-upload]
3649
3692
 
3650
3693
  FLAGS
3651
3694
  -a, --alias=<value> [optional] Alias (name) for the delivery token.
@@ -3659,7 +3702,7 @@ FLAGS
3659
3702
  comma. For example: APP_ENV:prod, TEST_ENV:testVal.
3660
3703
  --framework=<option> [optional] Type of framework. <options: Gatsby|NextJS|Other>
3661
3704
  <options: Gatsby|NextJs|CRA (Create React App)|CSR (Client-Side
3662
- Rendered)|Angular|VueJs|Other>
3705
+ Rendered)|Angular|Nuxt|VueJs|Remix|Other>
3663
3706
  --org=<value> [optional] Provide the organization UID to create a new project or deployment.
3664
3707
  --out-dir=<value> [optional] Output Directory.
3665
3708
  --redeploy-last-upload [optional] Redeploy with last file upload
@@ -3950,7 +3993,7 @@ EXAMPLES
3950
3993
  $ csdx plugins
3951
3994
  ```
3952
3995
 
3953
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/index.ts)_
3996
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/index.ts)_
3954
3997
 
3955
3998
  ## `csdx plugins:add PLUGIN`
3956
3999
 
@@ -4024,7 +4067,7 @@ EXAMPLES
4024
4067
  $ csdx plugins:inspect myplugin
4025
4068
  ```
4026
4069
 
4027
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/inspect.ts)_
4070
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/inspect.ts)_
4028
4071
 
4029
4072
  ## `csdx plugins:install PLUGIN`
4030
4073
 
@@ -4073,7 +4116,7 @@ EXAMPLES
4073
4116
  $ csdx plugins:install someuser/someplugin
4074
4117
  ```
4075
4118
 
4076
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/install.ts)_
4119
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/install.ts)_
4077
4120
 
4078
4121
  ## `csdx plugins:link PATH`
4079
4122
 
@@ -4104,7 +4147,7 @@ EXAMPLES
4104
4147
  $ csdx plugins:link myplugin
4105
4148
  ```
4106
4149
 
4107
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/link.ts)_
4150
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/link.ts)_
4108
4151
 
4109
4152
  ## `csdx plugins:remove [PLUGIN]`
4110
4153
 
@@ -4145,7 +4188,7 @@ FLAGS
4145
4188
  --reinstall Reinstall all plugins after uninstalling.
4146
4189
  ```
4147
4190
 
4148
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/reset.ts)_
4191
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/reset.ts)_
4149
4192
 
4150
4193
  ## `csdx plugins:uninstall [PLUGIN]`
4151
4194
 
@@ -4173,7 +4216,7 @@ EXAMPLES
4173
4216
  $ csdx plugins:uninstall myplugin
4174
4217
  ```
4175
4218
 
4176
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/uninstall.ts)_
4219
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/uninstall.ts)_
4177
4220
 
4178
4221
  ## `csdx plugins:unlink [PLUGIN]`
4179
4222
 
@@ -4217,7 +4260,7 @@ DESCRIPTION
4217
4260
  Update installed plugins.
4218
4261
  ```
4219
4262
 
4220
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.44/src/commands/plugins/update.ts)_
4263
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/update.ts)_
4221
4264
 
4222
4265
  ## `csdx tokens`
4223
4266
 
@@ -11,6 +11,7 @@ export default class CsdxContext {
11
11
  readonly analyticsInfo: string;
12
12
  flagWarningPrintState: any;
13
13
  flags: any;
14
+ cliVersion: string;
14
15
  constructor(cliOpts: any, cliConfig: any);
15
16
  getToken(alias: string): any;
16
17
  }
@@ -31,6 +31,7 @@ class CsdxContext {
31
31
  email: cli_utilities_1.configHandler.get('email'),
32
32
  };
33
33
  this.config = Object.assign({}, config);
34
+ this.cliVersion = cliConfig.version;
34
35
  this.region = cli_utilities_1.configHandler.get('region');
35
36
  this.info = { command: cliOpts.id };
36
37
  if (command.pluginName) {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "1.43.0"
3
+ "version": "1.44.0"
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.43.0",
4
+ "version": "1.44.0",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -22,24 +22,24 @@
22
22
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-audit": "~1.13.0",
26
- "@contentstack/cli-auth": "~1.4.1",
27
- "@contentstack/cli-cm-bootstrap": "~1.14.1",
28
- "@contentstack/cli-cm-branches": "~1.4.3",
29
- "@contentstack/cli-cm-bulk-publish": "~1.8.2",
30
- "@contentstack/cli-cm-clone": "~1.14.3",
31
- "@contentstack/cli-cm-export": "~1.17.0",
32
- "@contentstack/cli-cm-export-to-csv": "~1.8.2",
33
- "@contentstack/cli-cm-import": "~1.25.0",
34
- "@contentstack/cli-cm-import-setup": "1.3.0",
35
- "@contentstack/cli-cm-migrate-rte": "~1.5.2",
36
- "@contentstack/cli-cm-seed": "~1.11.3",
37
- "@contentstack/cli-command": "~1.5.1",
38
- "@contentstack/cli-config": "~1.13.0",
25
+ "@contentstack/cli-audit": "~1.14.0",
26
+ "@contentstack/cli-auth": "~1.5.0",
27
+ "@contentstack/cli-cm-bootstrap": "~1.15.0",
28
+ "@contentstack/cli-cm-branches": "~1.5.0",
29
+ "@contentstack/cli-cm-bulk-publish": "~1.9.0",
30
+ "@contentstack/cli-cm-clone": "~1.15.0",
31
+ "@contentstack/cli-cm-export": "~1.18.0",
32
+ "@contentstack/cli-cm-export-to-csv": "~1.9.0",
33
+ "@contentstack/cli-cm-import": "~1.26.0",
34
+ "@contentstack/cli-cm-import-setup": "1.4.0",
35
+ "@contentstack/cli-cm-migrate-rte": "~1.6.0",
36
+ "@contentstack/cli-cm-seed": "~1.12.0",
37
+ "@contentstack/cli-command": "~1.6.0",
38
+ "@contentstack/cli-config": "~1.14.0",
39
39
  "@contentstack/cli-launch": "^1.9.2",
40
- "@contentstack/cli-migration": "~1.7.3",
41
- "@contentstack/cli-utilities": "~1.12.1",
42
- "@contentstack/cli-variants": "~1.2.2",
40
+ "@contentstack/cli-migration": "~1.8.0",
41
+ "@contentstack/cli-utilities": "~1.13.0",
42
+ "@contentstack/cli-variants": "~1.3.0",
43
43
  "@contentstack/management": "~1.22.0",
44
44
  "@oclif/core": "^4.3.0",
45
45
  "@oclif/plugin-help": "^6.2.28",
@@ -167,4 +167,4 @@
167
167
  }
168
168
  },
169
169
  "repository": "https://github.com/contentstack/cli"
170
- }
170
+ }