@contentstack/cli 1.46.1 → 1.48.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 +33 -15
- package/oclif.manifest.json +1 -1
- package/package.json +9 -9
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.
|
|
21
|
+
@contentstack/cli/1.48.0 linux-x64 node-v22.19.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -43,7 +43,7 @@ USAGE
|
|
|
43
43
|
* [`csdx cm:branches`](#csdx-cmbranches)
|
|
44
44
|
* [`csdx cm:branches:create`](#csdx-cmbranchescreate)
|
|
45
45
|
* [`csdx cm:branches:delete [-uid <value>] [-k <value>]`](#csdx-cmbranchesdelete--uid-value--k-value)
|
|
46
|
-
* [`csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>]`](#csdx-cmbranchesdiff---base-branch-value---compare-branch-value--k-value--module-value)
|
|
46
|
+
* [`csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>] [--format <value>] [--csv-path <value>]`](#csdx-cmbranchesdiff---base-branch-value---compare-branch-value--k-value--module-value---format-value---csv-path-value)
|
|
47
47
|
* [`csdx cm:branches:merge [-k <value>][--compare-branch <value>] [--no-revert] [--export-summary-path <value>] [--use-merge-summary <value>] [--comment <value>] [--base-branch <value>]`](#csdx-cmbranchesmerge--k-value--compare-branch-value---no-revert---export-summary-path-value---use-merge-summary-value---comment-value---base-branch-value)
|
|
48
48
|
* [`csdx cm:bulk-publish`](#csdx-cmbulk-publish)
|
|
49
49
|
* [`csdx cm:entries:update-and-publish [-a <value>] [--retry-failed <value>] [--bulk-publish <value>] [--content-types <value>] [-t <value>] [-e <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value)
|
|
@@ -693,18 +693,21 @@ EXAMPLES
|
|
|
693
693
|
|
|
694
694
|
_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/delete.ts)_
|
|
695
695
|
|
|
696
|
-
## `csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>]`
|
|
696
|
+
## `csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>] [--format <value>] [--csv-path <value>]`
|
|
697
697
|
|
|
698
698
|
Differences between two branches
|
|
699
699
|
|
|
700
700
|
```
|
|
701
701
|
USAGE
|
|
702
|
-
$ csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>]
|
|
702
|
+
$ csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>] [--format
|
|
703
|
+
<value>] [--csv-path <value>]
|
|
703
704
|
|
|
704
705
|
FLAGS
|
|
705
706
|
-k, --stack-api-key=<value> [optional] Provide the stack API key to show the difference between branches.
|
|
706
707
|
--base-branch=<value> [optional] Base branch (Target branch).
|
|
707
708
|
--compare-branch=<value> [optional] Compare branch (Source branch).
|
|
709
|
+
--csv-path=<value> [optional] Custom path for CSV output file. If not provided, will use the current
|
|
710
|
+
working directory.
|
|
708
711
|
--format=<option> [default: compact-text] [default: compact-text] [optional] Type of flags to show the
|
|
709
712
|
difference between two branches. <options: compact-text, detailed-text>
|
|
710
713
|
<options: compact-text|detailed-text>
|
|
@@ -738,6 +741,10 @@ EXAMPLES
|
|
|
738
741
|
$ csdx cm:branches:diff --stack-api-key "bltxxxxxxxx" --base-branch "main" --compare-branch "develop" --module "content-types"
|
|
739
742
|
|
|
740
743
|
$ csdx cm:branches:diff --stack-api-key "bltxxxxxxxx" --base-branch "main" --compare-branch "develop" --module "content-types" --format "detailed-text"
|
|
744
|
+
|
|
745
|
+
$ csdx cm:branches:diff --stack-api-key "bltxxxxxxxx" --base-branch "main" --compare-branch "develop" --module "content-types" --format "compact-text"
|
|
746
|
+
|
|
747
|
+
$ csdx cm:branches:diff --stack-api-key "bltxxxxxxxx" --base-branch "main" --compare-branch "develop" --module "content-types" --format "detailed-text" --csv-path "./reports/diff-report.csv"
|
|
741
748
|
```
|
|
742
749
|
|
|
743
750
|
_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/diff.ts)_
|
|
@@ -3574,9 +3581,10 @@ USAGE
|
|
|
3574
3581
|
$ csdx config:set:log [--level debug|info|warn|error] [--path <value>] [--show-console-logs]
|
|
3575
3582
|
|
|
3576
3583
|
FLAGS
|
|
3577
|
-
--level=<option> Set the log level for the CLI.
|
|
3584
|
+
--level=<option> Set the log level for the CLI. Defaults to "info" if not specified.
|
|
3578
3585
|
<options: debug|info|warn|error>
|
|
3579
|
-
--path=<value> Specify the
|
|
3586
|
+
--path=<value> Specify the directory path where logs should be saved. Supports both relative and absolute
|
|
3587
|
+
paths. Defaults to ~/.contentstack/logs if not specified.
|
|
3580
3588
|
--[no-]show-console-logs Enable console logging.
|
|
3581
3589
|
|
|
3582
3590
|
DESCRIPTION
|
|
@@ -3585,9 +3593,19 @@ DESCRIPTION
|
|
|
3585
3593
|
EXAMPLES
|
|
3586
3594
|
$ csdx config:set:log
|
|
3587
3595
|
|
|
3588
|
-
$ csdx config:set:log --level debug
|
|
3596
|
+
$ csdx config:set:log --level debug
|
|
3597
|
+
|
|
3598
|
+
$ csdx config:set:log --path ./logs
|
|
3599
|
+
|
|
3600
|
+
$ csdx config:set:log --level debug --path ./logs --show-console-logs
|
|
3589
3601
|
|
|
3590
3602
|
$ csdx config:set:log --no-show-console-logs
|
|
3603
|
+
|
|
3604
|
+
$ csdx config:set:log --level warn --show-console-logs
|
|
3605
|
+
|
|
3606
|
+
$ csdx config:set:log --path ~/custom/logs
|
|
3607
|
+
|
|
3608
|
+
$ csdx config:set:log --path /var/log/contentstack
|
|
3591
3609
|
```
|
|
3592
3610
|
|
|
3593
3611
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/log.ts)_
|
|
@@ -3694,7 +3712,7 @@ DESCRIPTION
|
|
|
3694
3712
|
Display help for csdx.
|
|
3695
3713
|
```
|
|
3696
3714
|
|
|
3697
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
3715
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.33/src/commands/help.ts)_
|
|
3698
3716
|
|
|
3699
3717
|
## `csdx launch`
|
|
3700
3718
|
|
|
@@ -4011,7 +4029,7 @@ EXAMPLES
|
|
|
4011
4029
|
$ csdx plugins
|
|
4012
4030
|
```
|
|
4013
4031
|
|
|
4014
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4032
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/index.ts)_
|
|
4015
4033
|
|
|
4016
4034
|
## `csdx plugins:add PLUGIN`
|
|
4017
4035
|
|
|
@@ -4085,7 +4103,7 @@ EXAMPLES
|
|
|
4085
4103
|
$ csdx plugins:inspect myplugin
|
|
4086
4104
|
```
|
|
4087
4105
|
|
|
4088
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4106
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/inspect.ts)_
|
|
4089
4107
|
|
|
4090
4108
|
## `csdx plugins:install PLUGIN`
|
|
4091
4109
|
|
|
@@ -4134,7 +4152,7 @@ EXAMPLES
|
|
|
4134
4152
|
$ csdx plugins:install someuser/someplugin
|
|
4135
4153
|
```
|
|
4136
4154
|
|
|
4137
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4155
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/install.ts)_
|
|
4138
4156
|
|
|
4139
4157
|
## `csdx plugins:link PATH`
|
|
4140
4158
|
|
|
@@ -4165,7 +4183,7 @@ EXAMPLES
|
|
|
4165
4183
|
$ csdx plugins:link myplugin
|
|
4166
4184
|
```
|
|
4167
4185
|
|
|
4168
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4186
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/link.ts)_
|
|
4169
4187
|
|
|
4170
4188
|
## `csdx plugins:remove [PLUGIN]`
|
|
4171
4189
|
|
|
@@ -4206,7 +4224,7 @@ FLAGS
|
|
|
4206
4224
|
--reinstall Reinstall all plugins after uninstalling.
|
|
4207
4225
|
```
|
|
4208
4226
|
|
|
4209
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4227
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/reset.ts)_
|
|
4210
4228
|
|
|
4211
4229
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
4212
4230
|
|
|
@@ -4234,7 +4252,7 @@ EXAMPLES
|
|
|
4234
4252
|
$ csdx plugins:uninstall myplugin
|
|
4235
4253
|
```
|
|
4236
4254
|
|
|
4237
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4255
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/uninstall.ts)_
|
|
4238
4256
|
|
|
4239
4257
|
## `csdx plugins:unlink [PLUGIN]`
|
|
4240
4258
|
|
|
@@ -4278,7 +4296,7 @@ DESCRIPTION
|
|
|
4278
4296
|
Update installed plugins.
|
|
4279
4297
|
```
|
|
4280
4298
|
|
|
4281
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4299
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.47/src/commands/plugins/update.ts)_
|
|
4282
4300
|
|
|
4283
4301
|
## `csdx tokens`
|
|
4284
4302
|
|
package/oclif.manifest.json
CHANGED
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.
|
|
4
|
+
"version": "1.48.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"@contentstack/cli-audit": "~1.14.1",
|
|
26
26
|
"@contentstack/cli-auth": "~1.6.1",
|
|
27
27
|
"@contentstack/cli-cm-bootstrap": "~1.16.0",
|
|
28
|
-
"@contentstack/cli-cm-branches": "~1.
|
|
28
|
+
"@contentstack/cli-cm-branches": "~1.6.0",
|
|
29
29
|
"@contentstack/cli-cm-bulk-publish": "~1.10.0",
|
|
30
|
-
"@contentstack/cli-cm-clone": "~1.16.
|
|
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.
|
|
34
|
-
"@contentstack/cli-cm-import-setup": "1.
|
|
33
|
+
"@contentstack/cli-cm-import": "~1.28.1",
|
|
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.
|
|
36
|
+
"@contentstack/cli-cm-seed": "~1.12.2",
|
|
37
37
|
"@contentstack/cli-command": "~1.6.1",
|
|
38
|
-
"@contentstack/cli-config": "~1.15.
|
|
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.
|
|
41
|
+
"@contentstack/cli-utilities": "~1.14.2",
|
|
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": "
|
|
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",
|