@contentstack/cli 1.43.1 → 1.44.1

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.1 linux-x64 node-v22.17.0
21
+ @contentstack/cli/1.44.1 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,33 @@ 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>] [--show-console-logs]
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
+ --[no-]show-console-logs Enable console logging.
3566
+
3567
+ DESCRIPTION
3568
+ Set logging configuration for CLI
3569
+
3570
+ EXAMPLES
3571
+ $ csdx config:set:log
3572
+
3573
+ $ csdx config:set:log --level debug --path ./logs/app.log --show-console-logs
3574
+
3575
+ $ csdx config:set:log --no-show-console-logs
3576
+ ```
3577
+
3578
+ _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/log.ts)_
3579
+
3534
3580
  ## `csdx config:set:rate-limit`
3535
3581
 
3536
3582
  Set rate-limit for CLI
@@ -3633,7 +3679,7 @@ DESCRIPTION
3633
3679
  Display help for csdx.
3634
3680
  ```
3635
3681
 
3636
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.31/src/commands/help.ts)_
3682
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.32/src/commands/help.ts)_
3637
3683
 
3638
3684
  ## `csdx launch`
3639
3685
 
@@ -3950,7 +3996,7 @@ EXAMPLES
3950
3996
  $ csdx plugins
3951
3997
  ```
3952
3998
 
3953
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/index.ts)_
3999
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/index.ts)_
3954
4000
 
3955
4001
  ## `csdx plugins:add PLUGIN`
3956
4002
 
@@ -4024,7 +4070,7 @@ EXAMPLES
4024
4070
  $ csdx plugins:inspect myplugin
4025
4071
  ```
4026
4072
 
4027
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/inspect.ts)_
4073
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/inspect.ts)_
4028
4074
 
4029
4075
  ## `csdx plugins:install PLUGIN`
4030
4076
 
@@ -4073,7 +4119,7 @@ EXAMPLES
4073
4119
  $ csdx plugins:install someuser/someplugin
4074
4120
  ```
4075
4121
 
4076
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/install.ts)_
4122
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/install.ts)_
4077
4123
 
4078
4124
  ## `csdx plugins:link PATH`
4079
4125
 
@@ -4104,7 +4150,7 @@ EXAMPLES
4104
4150
  $ csdx plugins:link myplugin
4105
4151
  ```
4106
4152
 
4107
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/link.ts)_
4153
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/link.ts)_
4108
4154
 
4109
4155
  ## `csdx plugins:remove [PLUGIN]`
4110
4156
 
@@ -4145,7 +4191,7 @@ FLAGS
4145
4191
  --reinstall Reinstall all plugins after uninstalling.
4146
4192
  ```
4147
4193
 
4148
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/reset.ts)_
4194
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/reset.ts)_
4149
4195
 
4150
4196
  ## `csdx plugins:uninstall [PLUGIN]`
4151
4197
 
@@ -4173,7 +4219,7 @@ EXAMPLES
4173
4219
  $ csdx plugins:uninstall myplugin
4174
4220
  ```
4175
4221
 
4176
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/uninstall.ts)_
4222
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/uninstall.ts)_
4177
4223
 
4178
4224
  ## `csdx plugins:unlink [PLUGIN]`
4179
4225
 
@@ -4217,7 +4263,7 @@ DESCRIPTION
4217
4263
  Update installed plugins.
4218
4264
  ```
4219
4265
 
4220
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.45/src/commands/plugins/update.ts)_
4266
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.46/src/commands/plugins/update.ts)_
4221
4267
 
4222
4268
  ## `csdx tokens`
4223
4269
 
@@ -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.1"
3
+ "version": "1.44.1"
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.1",
4
+ "version": "1.44.1",
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.1",
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.1",
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.1",
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.15.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.1",
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
+ }