@@ -9,7 +9,7 @@ $ npm install -g @the-codegen-project/cli
99$ codegen COMMAND
1010running command...
1111$ codegen (--version)
12- @the-codegen-project/cli/0.63.1 linux-x64 node-v18.20.8
12+ @the-codegen-project/cli/0.64.0 linux-x64 node-v18.20.8
1313$ codegen --help [COMMAND]
1414USAGE
1515 $ codegen COMMAND
2727
2828<!-- commands -->
2929* [ ` codegen autocomplete [SHELL] ` ] ( #codegen-autocomplete-shell )
30+ * [ ` codegen base ` ] ( #codegen-base )
3031* [ ` codegen generate [FILE] ` ] ( #codegen-generate-file )
3132* [ ` codegen help [COMMAND] ` ] ( #codegen-help-command )
3233* [ ` codegen init ` ] ( #codegen-init )
@@ -64,28 +65,53 @@ EXAMPLES
6465
6566_ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v3.0.18/src/commands/autocomplete/index.ts ) _
6667
68+ ## ` codegen base `
69+
70+ ```
71+ USAGE
72+ $ codegen base [--json] [--no-color] [--debug | [-q | -v | --silent] | ]
73+
74+ FLAGS
75+ -q, --quiet Only show errors and warnings
76+ -v, --verbose Show detailed output
77+ --debug Show debug information
78+ --json Output results as JSON for scripting
79+ --no-color Disable colored output
80+ --silent Suppress all output except fatal errors
81+ ```
82+
83+ _ See code: [ src/commands/base.ts] ( https://github.com/the-codegen-project/cli/blob/v0.64.0/src/commands/base.ts ) _
84+
6785## ` codegen generate [FILE] `
6886
69- Generate code based on your configuration, use ` init ` to get started.
87+ Generate code based on your configuration, use ` init ` to get started, ` generate ` to generate code from the configuration .
7088
7189```
7290USAGE
73- $ codegen generate [FILE] [--help] [-w] [-p <value>]
91+ $ codegen generate [FILE] [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [--help] [-w] [-p
92+ <value>]
7493
7594ARGUMENTS
7695 FILE Path or URL to the configuration file, defaults to root of where the command is run
7796
7897FLAGS
7998 -p, --watchPath=<value> Optional path to watch for changes when --watch flag is used. If not provided, watches the
8099 input file from configuration
100+ -q, --quiet Only show errors and warnings
101+ -v, --verbose Show detailed output
81102 -w, --watch Watch for file changes and regenerate code automatically
103+ --debug Show debug information
82104 --help Show CLI help.
105+ --json Output results as JSON for scripting
106+ --no-color Disable colored output
107+ --silent Suppress all output except fatal errors
83108
84109DESCRIPTION
85- Generate code based on your configuration, use `init` to get started.
110+ Generate code based on your configuration, use `init` to get started, `generate` to generate code from the
111+ configuration.
86112```
87113
88- _ See code: [ src/commands/generate.ts] ( https://github.com/the-codegen-project/cli/blob/v0.63.1 /src/commands/generate.ts ) _
114+ _ See code: [ src/commands/generate.ts] ( https://github.com/the-codegen-project/cli/blob/v0.64.0 /src/commands/generate.ts ) _
89115
90116## ` codegen help [COMMAND] `
91117
@@ -113,53 +139,66 @@ Initialize The Codegen Project in your project
113139
114140```
115141USAGE
116- $ codegen init [--help ] [--input-file <value> ] [--config-name <value>] [--input-type asyncapi|openapi ]
117- [--output-directory <value>] [--config -type esm|json|yaml|ts ] [--languages typescript ] [--no-tty]
118- [--include-payloads ] [--include-headers ] [--include-client ] [--include-parameters ] [--include-channels ]
119- [--gitignore-generated]
142+ $ codegen init [--json ] [--no-color ] [--debug | | [--silent | -v | -q]] [--help] [-- input-file <value> ]
143+ [--config-name <value>] [--input -type asyncapi|openapi ] [--output-directory <value> ] [--config-type
144+ esm|json|yaml|ts] [--languages typescript ] [--no-tty ] [--include-payloads ] [--include-headers ] [--include-client ]
145+ [--include-parameters] [--include-channels] [-- gitignore-generated]
120146
121147FLAGS
122- --config-name=<value> [default: codegen] The name to use for the configuration file (dont include file
123- extension)
124- --config-type=<option> [default: esm] The type of configuration file. 'esm', 'ts' can do everything, 'json' and
125- 'yaml' is more restrictive. Read more here:
126- https://github.com/the-codegen-project/cli/blob/main/docs/configurations.md
127- <options: esm|json|yaml|ts>
128- --gitignore-generated Add generated output directories to .gitignore
129- --help Show CLI help.
130- --include-channels Include channels generation, available for TypeScript
131- --include-client Include client generation, available for TypeScript
132- --include-headers Include headers generation, available for TypeScript
133- --include-parameters Include parameters generation, available for TypeScript
134- --include-payloads Include payloads generation, available for TypeScript
135- --input-file=<value> File path for the code generation input such as AsyncAPI document
136- --input-type=<option> Input file type
137- <options: asyncapi|openapi>
138- --languages=<option> Which languages do you wish to generate code for?
139- <options: typescript>
140- --no-tty Do not use an interactive terminal
141- --output-directory=<value> [default: ./] Output configuration location, path to where the configuration file should
142- be located. If relative path, the current working directory of the terminal will be used
148+ -q, --quiet Only show errors and warnings
149+ -v, --verbose Show detailed output
150+ --config-name=<value> [default: codegen] The name to use for the configuration file (dont include file
151+ extension)
152+ --config-type=<option> [default: esm] The type of configuration file. 'esm', 'ts' can do everything, 'json'
153+ and 'yaml' is more restrictive. Read more here:
154+ https://github.com/the-codegen-project/cli/blob/main/docs/configurations.md
155+ <options: esm|json|yaml|ts>
156+ --debug Show debug information
157+ --gitignore-generated Add generated output directories to .gitignore
158+ --help Show CLI help.
159+ --include-channels Include channels generation, available for TypeScript
160+ --include-client Include client generation, available for TypeScript
161+ --include-headers Include headers generation, available for TypeScript
162+ --include-parameters Include parameters generation, available for TypeScript
163+ --include-payloads Include payloads generation, available for TypeScript
164+ --input-file=<value> File path for the code generation input such as AsyncAPI document
165+ --input-type=<option> Input file type
166+ <options: asyncapi|openapi>
167+ --json Output results as JSON for scripting
168+ --languages=<option> Which languages do you wish to generate code for?
169+ <options: typescript>
170+ --no-color Disable colored output
171+ --no-tty Do not use an interactive terminal
172+ --output-directory=<value> [default: ./] Output configuration location, path to where the configuration file
173+ should be located. If relative path, the current working directory of the terminal
174+ will be used
175+ --silent Suppress all output except fatal errors
143176
144177DESCRIPTION
145178 Initialize The Codegen Project in your project
146179```
147180
148- _ See code: [ src/commands/init.ts] ( https://github.com/the-codegen-project/cli/blob/v0.63.1 /src/commands/init.ts ) _
181+ _ See code: [ src/commands/init.ts] ( https://github.com/the-codegen-project/cli/blob/v0.64.0 /src/commands/init.ts ) _
149182
150183## ` codegen telemetry ACTION `
151184
152185Manage telemetry settings
153186
154187```
155188USAGE
156- $ codegen telemetry ACTION [--help]
189+ $ codegen telemetry ACTION [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [-- help]
157190
158191ARGUMENTS
159192 ACTION (status|enable|disable) Action to perform: status, enable, or disable
160193
161194FLAGS
162- --help Show CLI help.
195+ -q, --quiet Only show errors and warnings
196+ -v, --verbose Show detailed output
197+ --debug Show debug information
198+ --help Show CLI help.
199+ --json Output results as JSON for scripting
200+ --no-color Disable colored output
201+ --silent Suppress all output except fatal errors
163202
164203DESCRIPTION
165204 Manage telemetry settings
@@ -172,7 +211,7 @@ EXAMPLES
172211 $ codegen telemetry disable
173212```
174213
175- _ See code: [ src/commands/telemetry.ts] ( https://github.com/the-codegen-project/cli/blob/v0.63.1 /src/commands/telemetry.ts ) _
214+ _ See code: [ src/commands/telemetry.ts] ( https://github.com/the-codegen-project/cli/blob/v0.64.0 /src/commands/telemetry.ts ) _
176215
177216## ` codegen version `
178217
0 commit comments