@contentstack/cli 1.46.0 → 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.0 linux-x64 node-v22.18.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
@@ -2187,7 +2187,6 @@ FLAGS
2187
2187
  mention the branch name, then by default the content will be exported from all the
2188
2188
  branches of your stack.
2189
2189
  -a, --alias=<value> The management token alias of the source stack from which you will export content.
2190
- -b, --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
2191
2190
  -c, --config=<value> [optional] Path of the config
2192
2191
  -d, --data-dir=<value> The path or the location in your file system to store the exported content. For e.g.,
2193
2192
  ./content
@@ -2199,6 +2198,7 @@ FLAGS
2199
2198
  -t, --content-types=<value>... [optional] The UID of the content type(s) whose content you want to export. In case
2200
2199
  of multiple content types, specify the IDs separated by spaces.
2201
2200
  -y, --yes [optional] Force override all Marketplace prompts.
2201
+ --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
2202
2202
  --secured-assets [optional] Use this flag for assets that are secured.
2203
2203
 
2204
2204
  DESCRIPTION
@@ -2812,7 +2812,6 @@ FLAGS
2812
2812
  mention the branch name, then by default the content will be exported from all the
2813
2813
  branches of your stack.
2814
2814
  -a, --alias=<value> The management token alias of the source stack from which you will export content.
2815
- -b, --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
2816
2815
  -c, --config=<value> [optional] Path of the config
2817
2816
  -d, --data-dir=<value> The path or the location in your file system to store the exported content. For e.g.,
2818
2817
  ./content
@@ -2824,6 +2823,7 @@ FLAGS
2824
2823
  -t, --content-types=<value>... [optional] The UID of the content type(s) whose content you want to export. In case
2825
2824
  of multiple content types, specify the IDs separated by spaces.
2826
2825
  -y, --yes [optional] Force override all Marketplace prompts.
2826
+ --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
2827
2827
  --secured-assets [optional] Use this flag for assets that are secured.
2828
2828
 
2829
2829
  DESCRIPTION
@@ -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.0"
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.0",
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",
31
- "@contentstack/cli-cm-export": "~1.20.0",
30
+ "@contentstack/cli-cm-clone": "~1.16.1",
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",