@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
1818$ csdx COMMAND
1919running command...
2020$ csdx (--version| -v)
21- @contentstack/cli/1.36 .0 darwin-arm64 node-v23.6.0
21+ @contentstack/cli/1.37 .0 darwin-arm64 node-v23.6.0
2222$ csdx --help [COMMAND]
2323USAGE
2424 $ csdx COMMAND
@@ -119,7 +119,6 @@ USAGE
119119* [ ` csdx plugins:unlink [PLUGIN] ` ] ( #csdx-pluginsunlink-plugin )
120120* [ ` csdx plugins:update ` ] ( #csdx-pluginsupdate )
121121* [ ` csdx tokens ` ] ( #csdx-tokens )
122- * [ ` csdx tsgen ` ] ( #csdx-tsgen )
123122* [ ` csdx whoami ` ] ( #csdx-whoami )
124123
125124## ` csdx audit `
@@ -4202,44 +4201,6 @@ EXAMPLES
42024201 $ csdx auth:tokens
42034202```
42044203
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-
42434204## ` csdx whoami `
42444205
42454206Display current users email address
0 commit comments