@contentstack/cli 1.43.1 → 1.44.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 +46 -3
- package/lib/utils/context-handler.d.ts +1 -0
- package/lib/utils/context-handler.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +19 -19
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.44.0 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,30 @@ 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>]
|
|
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
|
+
|
|
3566
|
+
DESCRIPTION
|
|
3567
|
+
Set logging configuration for CLI
|
|
3568
|
+
|
|
3569
|
+
EXAMPLES
|
|
3570
|
+
$ csdx config:set:log
|
|
3571
|
+
|
|
3572
|
+
$ csdx config:set:log --level debug --path ./logs/app.log
|
|
3573
|
+
```
|
|
3574
|
+
|
|
3575
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/log.ts)_
|
|
3576
|
+
|
|
3534
3577
|
## `csdx config:set:rate-limit`
|
|
3535
3578
|
|
|
3536
3579
|
Set rate-limit for CLI
|
|
@@ -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) {
|
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.44.0",
|
|
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.
|
|
26
|
-
"@contentstack/cli-auth": "~1.
|
|
27
|
-
"@contentstack/cli-cm-bootstrap": "~1.
|
|
28
|
-
"@contentstack/cli-cm-branches": "~1.
|
|
29
|
-
"@contentstack/cli-cm-bulk-publish": "~1.
|
|
30
|
-
"@contentstack/cli-cm-clone": "~1.
|
|
31
|
-
"@contentstack/cli-cm-export": "~1.
|
|
32
|
-
"@contentstack/cli-cm-export-to-csv": "~1.
|
|
33
|
-
"@contentstack/cli-cm-import": "~1.
|
|
34
|
-
"@contentstack/cli-cm-import-setup": "1.
|
|
35
|
-
"@contentstack/cli-cm-migrate-rte": "~1.
|
|
36
|
-
"@contentstack/cli-cm-seed": "~1.
|
|
37
|
-
"@contentstack/cli-command": "~1.
|
|
38
|
-
"@contentstack/cli-config": "~1.
|
|
25
|
+
"@contentstack/cli-audit": "~1.14.0",
|
|
26
|
+
"@contentstack/cli-auth": "~1.5.0",
|
|
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.0",
|
|
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.14.0",
|
|
39
39
|
"@contentstack/cli-launch": "^1.9.2",
|
|
40
|
-
"@contentstack/cli-migration": "~1.
|
|
41
|
-
"@contentstack/cli-utilities": "~1.
|
|
42
|
-
"@contentstack/cli-variants": "~1.
|
|
40
|
+
"@contentstack/cli-migration": "~1.8.0",
|
|
41
|
+
"@contentstack/cli-utilities": "~1.13.0",
|
|
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
|
+
}
|