@contentstack/cli 1.46.1 → 1.47.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.46.1 linux-x64 node-v22.19.0
21
+ @contentstack/cli/1.47.0 linux-x64 node-v22.19.0
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -3574,9 +3574,10 @@ USAGE
3574
3574
  $ csdx config:set:log [--level debug|info|warn|error] [--path <value>] [--show-console-logs]
3575
3575
 
3576
3576
  FLAGS
3577
- --level=<option> Set the log level for the CLI.
3577
+ --level=<option> Set the log level for the CLI. Defaults to "info" if not specified.
3578
3578
  <options: debug|info|warn|error>
3579
- --path=<value> Specify the file path where logs should be saved.
3579
+ --path=<value> Specify the directory path where logs should be saved. Supports both relative and absolute
3580
+ paths. Defaults to ~/.contentstack/logs if not specified.
3580
3581
  --[no-]show-console-logs Enable console logging.
3581
3582
 
3582
3583
  DESCRIPTION
@@ -3585,9 +3586,19 @@ DESCRIPTION
3585
3586
  EXAMPLES
3586
3587
  $ csdx config:set:log
3587
3588
 
3588
- $ csdx config:set:log --level debug --path ./logs/app.log --show-console-logs
3589
+ $ csdx config:set:log --level debug
3590
+
3591
+ $ csdx config:set:log --path ./logs
3592
+
3593
+ $ csdx config:set:log --level debug --path ./logs --show-console-logs
3589
3594
 
3590
3595
  $ csdx config:set:log --no-show-console-logs
3596
+
3597
+ $ csdx config:set:log --level warn --show-console-logs
3598
+
3599
+ $ csdx config:set:log --path ~/custom/logs
3600
+
3601
+ $ csdx config:set:log --path /var/log/contentstack
3591
3602
  ```
3592
3603
 
3593
3604
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/log.ts)_
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "1.46.1"
3
+ "version": "1.47.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.46.1",
4
+ "version": "1.47.0",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -27,18 +27,18 @@
27
27
  "@contentstack/cli-cm-bootstrap": "~1.16.0",
28
28
  "@contentstack/cli-cm-branches": "~1.5.1",
29
29
  "@contentstack/cli-cm-bulk-publish": "~1.10.0",
30
- "@contentstack/cli-cm-clone": "~1.16.0",
30
+ "@contentstack/cli-cm-clone": "~1.16.1",
31
31
  "@contentstack/cli-cm-export": "~1.20.1",
32
32
  "@contentstack/cli-cm-export-to-csv": "~1.9.1",
33
- "@contentstack/cli-cm-import": "~1.27.0",
34
- "@contentstack/cli-cm-import-setup": "1.4.2",
33
+ "@contentstack/cli-cm-import": "~1.28.0",
34
+ "@contentstack/cli-cm-import-setup": "1.5.0",
35
35
  "@contentstack/cli-cm-migrate-rte": "~1.6.1",
36
- "@contentstack/cli-cm-seed": "~1.12.1",
36
+ "@contentstack/cli-cm-seed": "~1.12.2",
37
37
  "@contentstack/cli-command": "~1.6.1",
38
- "@contentstack/cli-config": "~1.15.1",
38
+ "@contentstack/cli-config": "~1.15.2",
39
39
  "@contentstack/cli-launch": "^1.9.2",
40
40
  "@contentstack/cli-migration": "~1.8.1",
41
- "@contentstack/cli-utilities": "~1.14.0",
41
+ "@contentstack/cli-utilities": "~1.14.1",
42
42
  "@contentstack/cli-variants": "~1.3.1",
43
43
  "@contentstack/management": "~1.22.0",
44
44
  "@oclif/core": "^4.3.0",
@@ -47,7 +47,7 @@
47
47
  "@oclif/plugin-plugins": "^5.4.38",
48
48
  "chalk": "^4.1.2",
49
49
  "debug": "^4.4.1",
50
- "figlet": "^1.8.1",
50
+ "figlet": "1.8.1",
51
51
  "inquirer": "8.2.6",
52
52
  "node-machine-id": "^1.1.12",
53
53
  "open": "^8.4.2",