@contentstack/cli 1.36.0 → 1.37.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 +8 -47
- package/oclif.manifest.json +1 -1
- package/package.json +3 -5
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.37.0 linux-x64 node-v22.14.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -119,7 +119,6 @@ USAGE
|
|
|
119
119
|
* [`csdx plugins:unlink [PLUGIN]`](#csdx-pluginsunlink-plugin)
|
|
120
120
|
* [`csdx plugins:update`](#csdx-pluginsupdate)
|
|
121
121
|
* [`csdx tokens`](#csdx-tokens)
|
|
122
|
-
* [`csdx tsgen`](#csdx-tsgen)
|
|
123
122
|
* [`csdx whoami`](#csdx-whoami)
|
|
124
123
|
|
|
125
124
|
## `csdx audit`
|
|
@@ -3903,7 +3902,7 @@ EXAMPLES
|
|
|
3903
3902
|
$ csdx plugins
|
|
3904
3903
|
```
|
|
3905
3904
|
|
|
3906
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
3905
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/index.ts)_
|
|
3907
3906
|
|
|
3908
3907
|
## `csdx plugins:add PLUGIN`
|
|
3909
3908
|
|
|
@@ -3977,7 +3976,7 @@ EXAMPLES
|
|
|
3977
3976
|
$ csdx plugins:inspect myplugin
|
|
3978
3977
|
```
|
|
3979
3978
|
|
|
3980
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
3979
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/inspect.ts)_
|
|
3981
3980
|
|
|
3982
3981
|
## `csdx plugins:install PLUGIN`
|
|
3983
3982
|
|
|
@@ -4026,7 +4025,7 @@ EXAMPLES
|
|
|
4026
4025
|
$ csdx plugins:install someuser/someplugin
|
|
4027
4026
|
```
|
|
4028
4027
|
|
|
4029
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4028
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/install.ts)_
|
|
4030
4029
|
|
|
4031
4030
|
## `csdx plugins:link PATH`
|
|
4032
4031
|
|
|
@@ -4057,7 +4056,7 @@ EXAMPLES
|
|
|
4057
4056
|
$ csdx plugins:link myplugin
|
|
4058
4057
|
```
|
|
4059
4058
|
|
|
4060
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4059
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/link.ts)_
|
|
4061
4060
|
|
|
4062
4061
|
## `csdx plugins:remove [PLUGIN]`
|
|
4063
4062
|
|
|
@@ -4098,7 +4097,7 @@ FLAGS
|
|
|
4098
4097
|
--reinstall Reinstall all plugins after uninstalling.
|
|
4099
4098
|
```
|
|
4100
4099
|
|
|
4101
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4100
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/reset.ts)_
|
|
4102
4101
|
|
|
4103
4102
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
4104
4103
|
|
|
@@ -4126,7 +4125,7 @@ EXAMPLES
|
|
|
4126
4125
|
$ csdx plugins:uninstall myplugin
|
|
4127
4126
|
```
|
|
4128
4127
|
|
|
4129
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4128
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/uninstall.ts)_
|
|
4130
4129
|
|
|
4131
4130
|
## `csdx plugins:unlink [PLUGIN]`
|
|
4132
4131
|
|
|
@@ -4170,7 +4169,7 @@ DESCRIPTION
|
|
|
4170
4169
|
Update installed plugins.
|
|
4171
4170
|
```
|
|
4172
4171
|
|
|
4173
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4172
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.36/src/commands/plugins/update.ts)_
|
|
4174
4173
|
|
|
4175
4174
|
## `csdx tokens`
|
|
4176
4175
|
|
|
@@ -4202,44 +4201,6 @@ EXAMPLES
|
|
|
4202
4201
|
$ csdx auth:tokens
|
|
4203
4202
|
```
|
|
4204
4203
|
|
|
4205
|
-
## `csdx tsgen`
|
|
4206
|
-
|
|
4207
|
-
Generate TypeScript typings from a Stack
|
|
4208
|
-
|
|
4209
|
-
```
|
|
4210
|
-
USAGE
|
|
4211
|
-
$ csdx tsgen -a <value> -o <value> [-p <value>] [-d] [--branch <value>] [--include-system-fields]
|
|
4212
|
-
[--api-type rest|graphql] [--namespace <value>]
|
|
4213
|
-
|
|
4214
|
-
FLAGS
|
|
4215
|
-
-a, --token-alias=<value> (required) delivery token alias
|
|
4216
|
-
-d, --[no-]doc include documentation comments
|
|
4217
|
-
-o, --output=<value> (required) full path to output
|
|
4218
|
-
-p, --prefix=<value> interface prefix, e.g. "I"
|
|
4219
|
-
--api-type=<option> [default: rest] [Optional] Please enter an API type to generate the type definitions.
|
|
4220
|
-
<options: rest|graphql>
|
|
4221
|
-
--branch=<value> branch
|
|
4222
|
-
--include-system-fields include system fields in generated types
|
|
4223
|
-
--namespace=<value> [Optional]Please enter a namespace for the GraphQL API type to organize the generated
|
|
4224
|
-
types.
|
|
4225
|
-
|
|
4226
|
-
DESCRIPTION
|
|
4227
|
-
Generate TypeScript typings from a Stack
|
|
4228
|
-
|
|
4229
|
-
EXAMPLES
|
|
4230
|
-
$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts"
|
|
4231
|
-
|
|
4232
|
-
$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts" -p "I"
|
|
4233
|
-
|
|
4234
|
-
$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts" --no-doc
|
|
4235
|
-
|
|
4236
|
-
$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts" --api-type graphql
|
|
4237
|
-
|
|
4238
|
-
$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts" --api-type graphql --namespace "GraphQL"
|
|
4239
|
-
```
|
|
4240
|
-
|
|
4241
|
-
_See code: [contentstack-cli-tsgen](https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/blob/v3.3.0/src/commands/tsgen.ts)_
|
|
4242
|
-
|
|
4243
4204
|
## `csdx whoami`
|
|
4244
4205
|
|
|
4245
4206
|
Display current users email address
|
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.37.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.
|
|
25
|
+
"@contentstack/cli-audit": "~1.9.0",
|
|
26
26
|
"@contentstack/cli-auth": "~1.3.24",
|
|
27
27
|
"@contentstack/cli-cm-bootstrap": "~1.13.2",
|
|
28
28
|
"@contentstack/cli-cm-branches": "~1.3.0",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"@oclif/plugin-not-found": "^2.4.3",
|
|
47
47
|
"@oclif/plugin-plugins": "^5.4.24",
|
|
48
48
|
"chalk": "^4.1.2",
|
|
49
|
-
"contentstack-cli-tsgen": "^3.0.1",
|
|
50
49
|
"debug": "^4.4.0",
|
|
51
50
|
"figlet": "^1.8.0",
|
|
52
51
|
"inquirer": "8.2.6",
|
|
@@ -153,8 +152,7 @@
|
|
|
153
152
|
"@contentstack/cli-cm-branches",
|
|
154
153
|
"@contentstack/cli-launch",
|
|
155
154
|
"@contentstack/cli-audit",
|
|
156
|
-
"@contentstack/cli-cm-import-setup"
|
|
157
|
-
"contentstack-cli-tsgen"
|
|
155
|
+
"@contentstack/cli-cm-import-setup"
|
|
158
156
|
],
|
|
159
157
|
"hooks": {
|
|
160
158
|
"prerun": [
|