@contentstack/cli 1.60.1 → 1.61.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 +33 -9
- package/lib/utils/context-handler.js +1 -2
- package/oclif.manifest.json +1 -1
- package/package.json +21 -31
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.61.1 linux-x64 node-v22.22.2
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -45,6 +45,7 @@ USAGE
|
|
|
45
45
|
* [`csdx cm:branches:delete [-uid <value>] [-k <value>]`](#csdx-cmbranchesdelete--uid-value--k-value)
|
|
46
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
|
+
* [`csdx cm:branches:merge-status -k <value> --merge-uid <value>`](#csdx-cmbranchesmerge-status--k-value---merge-uid-value)
|
|
48
49
|
* [`csdx cm:bulk-publish`](#csdx-cmbulk-publish)
|
|
49
50
|
* [`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)
|
|
50
51
|
* [`csdx cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>] [--bulk-publish <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>] [--source-env <value>]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value)
|
|
@@ -793,6 +794,29 @@ EXAMPLES
|
|
|
793
794
|
|
|
794
795
|
_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/merge.ts)_
|
|
795
796
|
|
|
797
|
+
## `csdx cm:branches:merge-status -k <value> --merge-uid <value>`
|
|
798
|
+
|
|
799
|
+
Check the status of a branch merge job
|
|
800
|
+
|
|
801
|
+
```
|
|
802
|
+
USAGE
|
|
803
|
+
$ csdx cm:branches:merge-status -k <value> --merge-uid <value>
|
|
804
|
+
|
|
805
|
+
FLAGS
|
|
806
|
+
-k, --stack-api-key=<value> (required) Provide your stack API key.
|
|
807
|
+
--merge-uid=<value> (required) Merge job UID to check status for.
|
|
808
|
+
|
|
809
|
+
DESCRIPTION
|
|
810
|
+
Check the status of a branch merge job
|
|
811
|
+
|
|
812
|
+
EXAMPLES
|
|
813
|
+
$ csdx cm:branches:merge-status -k bltxxxxxxxx --merge-uid merge_abc123
|
|
814
|
+
|
|
815
|
+
$ csdx cm:branches:merge-status --stack-api-key bltxxxxxxxx --merge-uid merge_abc123
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/merge-status.ts)_
|
|
819
|
+
|
|
796
820
|
## `csdx cm:bulk-publish`
|
|
797
821
|
|
|
798
822
|
Bulk Publish script for managing entries and assets
|
|
@@ -3829,7 +3853,7 @@ DESCRIPTION
|
|
|
3829
3853
|
Display help for csdx.
|
|
3830
3854
|
```
|
|
3831
3855
|
|
|
3832
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.
|
|
3856
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.46/src/commands/help.ts)_
|
|
3833
3857
|
|
|
3834
3858
|
## `csdx launch`
|
|
3835
3859
|
|
|
@@ -4149,7 +4173,7 @@ EXAMPLES
|
|
|
4149
4173
|
$ csdx plugins
|
|
4150
4174
|
```
|
|
4151
4175
|
|
|
4152
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4176
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/index.ts)_
|
|
4153
4177
|
|
|
4154
4178
|
## `csdx plugins:add PLUGIN`
|
|
4155
4179
|
|
|
@@ -4223,7 +4247,7 @@ EXAMPLES
|
|
|
4223
4247
|
$ csdx plugins:inspect myplugin
|
|
4224
4248
|
```
|
|
4225
4249
|
|
|
4226
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4250
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/inspect.ts)_
|
|
4227
4251
|
|
|
4228
4252
|
## `csdx plugins:install PLUGIN`
|
|
4229
4253
|
|
|
@@ -4272,7 +4296,7 @@ EXAMPLES
|
|
|
4272
4296
|
$ csdx plugins:install someuser/someplugin
|
|
4273
4297
|
```
|
|
4274
4298
|
|
|
4275
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4299
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/install.ts)_
|
|
4276
4300
|
|
|
4277
4301
|
## `csdx plugins:link PATH`
|
|
4278
4302
|
|
|
@@ -4303,7 +4327,7 @@ EXAMPLES
|
|
|
4303
4327
|
$ csdx plugins:link myplugin
|
|
4304
4328
|
```
|
|
4305
4329
|
|
|
4306
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4330
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/link.ts)_
|
|
4307
4331
|
|
|
4308
4332
|
## `csdx plugins:remove [PLUGIN]`
|
|
4309
4333
|
|
|
@@ -4344,7 +4368,7 @@ FLAGS
|
|
|
4344
4368
|
--reinstall Reinstall all plugins after uninstalling.
|
|
4345
4369
|
```
|
|
4346
4370
|
|
|
4347
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4371
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/reset.ts)_
|
|
4348
4372
|
|
|
4349
4373
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
4350
4374
|
|
|
@@ -4372,7 +4396,7 @@ EXAMPLES
|
|
|
4372
4396
|
$ csdx plugins:uninstall myplugin
|
|
4373
4397
|
```
|
|
4374
4398
|
|
|
4375
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4399
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/uninstall.ts)_
|
|
4376
4400
|
|
|
4377
4401
|
## `csdx plugins:unlink [PLUGIN]`
|
|
4378
4402
|
|
|
@@ -4416,7 +4440,7 @@ DESCRIPTION
|
|
|
4416
4440
|
Update installed plugins.
|
|
4417
4441
|
```
|
|
4418
4442
|
|
|
4419
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
4443
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.63/src/commands/plugins/update.ts)_
|
|
4420
4444
|
|
|
4421
4445
|
## `csdx tokens`
|
|
4422
4446
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const shortUUID = tslib_1.__importStar(require("short-uuid"));
|
|
5
4
|
const path = tslib_1.__importStar(require("path"));
|
|
6
5
|
const cli_utilities_1 = require("@contentstack/cli-utilities");
|
|
7
6
|
const node_machine_id_1 = require("node-machine-id");
|
|
@@ -22,7 +21,7 @@ class CsdxContext {
|
|
|
22
21
|
cli_utilities_1.configHandler.set('clientId', this.clientId);
|
|
23
22
|
}
|
|
24
23
|
analyticsInfo.push(this.clientId);
|
|
25
|
-
const sessionId =
|
|
24
|
+
const sessionId = (0, cli_utilities_1.generateShortUid)();
|
|
26
25
|
cli_utilities_1.configHandler.set('sessionId', sessionId);
|
|
27
26
|
this.sessionId = sessionId;
|
|
28
27
|
analyticsInfo.push(this.sessionId);
|
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.61.1",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -19,39 +19,31 @@
|
|
|
19
19
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@contentstack/cli-audit": "~1.19.
|
|
23
|
-
"@contentstack/cli-cm-export": "~1.24.
|
|
24
|
-
"@contentstack/cli-cm-import": "~1.32.
|
|
25
|
-
"@contentstack/cli-auth": "~1.8.
|
|
26
|
-
"@contentstack/cli-cm-bootstrap": "~1.19.
|
|
27
|
-
"@contentstack/cli-cm-branches": "~1.
|
|
28
|
-
"@contentstack/cli-cm-bulk-publish": "~1.11.
|
|
29
|
-
"@contentstack/cli-cm-clone": "~1.21.
|
|
30
|
-
"@contentstack/cli-cm-export-to-csv": "~1.12.
|
|
31
|
-
"@contentstack/cli-cm-import-setup": "~1.8.
|
|
22
|
+
"@contentstack/cli-audit": "~1.19.3",
|
|
23
|
+
"@contentstack/cli-cm-export": "~1.24.3",
|
|
24
|
+
"@contentstack/cli-cm-import": "~1.32.3",
|
|
25
|
+
"@contentstack/cli-auth": "~1.8.2",
|
|
26
|
+
"@contentstack/cli-cm-bootstrap": "~1.19.2",
|
|
27
|
+
"@contentstack/cli-cm-branches": "~1.8.1",
|
|
28
|
+
"@contentstack/cli-cm-bulk-publish": "~1.11.3",
|
|
29
|
+
"@contentstack/cli-cm-clone": "~1.21.3",
|
|
30
|
+
"@contentstack/cli-cm-export-to-csv": "~1.12.2",
|
|
31
|
+
"@contentstack/cli-cm-import-setup": "~1.8.3",
|
|
32
32
|
"@contentstack/cli-cm-migrate-rte": "~1.6.4",
|
|
33
|
-
"@contentstack/cli-cm-seed": "~1.15.
|
|
34
|
-
"@contentstack/cli-command": "~1.8.
|
|
35
|
-
"@contentstack/cli-config": "~1.20.
|
|
36
|
-
"@contentstack/cli-launch": "^1.9.
|
|
37
|
-
"@contentstack/cli-migration": "~1.12.
|
|
38
|
-
"@contentstack/cli-utilities": "~1.18.
|
|
39
|
-
"@contentstack/cli-variants": "~1.4.
|
|
40
|
-
"@
|
|
41
|
-
"@oclif/core": "^4.8.3",
|
|
33
|
+
"@contentstack/cli-cm-seed": "~1.15.2",
|
|
34
|
+
"@contentstack/cli-command": "~1.8.2",
|
|
35
|
+
"@contentstack/cli-config": "~1.20.3",
|
|
36
|
+
"@contentstack/cli-launch": "^1.9.8",
|
|
37
|
+
"@contentstack/cli-migration": "~1.12.2",
|
|
38
|
+
"@contentstack/cli-utilities": "~1.18.3",
|
|
39
|
+
"@contentstack/cli-variants": "~1.4.3",
|
|
40
|
+
"@oclif/core": "^4.10.5",
|
|
42
41
|
"@oclif/plugin-help": "^6.2.28",
|
|
43
42
|
"@oclif/plugin-not-found": "^3.2.53",
|
|
44
43
|
"@oclif/plugin-plugins": "^5.4.54",
|
|
45
|
-
"chalk": "^4.1.2",
|
|
46
|
-
"debug": "^4.4.1",
|
|
47
44
|
"figlet": "1.8.1",
|
|
48
|
-
"inquirer": "8.2.7",
|
|
49
45
|
"node-machine-id": "^1.1.12",
|
|
50
|
-
"
|
|
51
|
-
"semver": "^7.7.2",
|
|
52
|
-
"short-uuid": "^4.2.2",
|
|
53
|
-
"uuid": "^9.0.1",
|
|
54
|
-
"winston": "^3.17.0"
|
|
46
|
+
"semver": "^7.7.2"
|
|
55
47
|
},
|
|
56
48
|
"overrides": {
|
|
57
49
|
"@oclif/core": {
|
|
@@ -61,14 +53,12 @@
|
|
|
61
53
|
"devDependencies": {
|
|
62
54
|
"@oclif/test": "^4.1.16",
|
|
63
55
|
"@types/chai": "^4.3.20",
|
|
64
|
-
"@types/inquirer": "^9.0.9",
|
|
65
|
-
"@types/mkdirp": "^1.0.2",
|
|
66
56
|
"@types/mocha": "^8.2.3",
|
|
67
57
|
"@types/node": "^14.18.63",
|
|
68
58
|
"@types/semver": "^7.7.0",
|
|
69
59
|
"@types/sinon": "^21.0.0",
|
|
70
60
|
"chai": "^4.5.0",
|
|
71
|
-
"eslint": "^
|
|
61
|
+
"eslint": "^9.26.0",
|
|
72
62
|
"eslint-config-oclif": "^6.0.137",
|
|
73
63
|
"eslint-config-oclif-typescript": "^3.1.14",
|
|
74
64
|
"globby": "^10.0.2",
|