Skip to content

Commit c49ff99

Browse files
committed
chore(release): v0.64.0
1 parent d6cefa7 commit c49ff99

File tree

6 files changed

+79
-37
lines changed

6 files changed

+79
-37
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ Get an overview of how telemetry works for this project
6868
Connect AI assistants like Claude Code, Cursor, and Windsurf to The Codegen Project via MCP (Model Context Protocol) for intelligent code generation assistance.
6969

7070

71+

docs/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,6 @@ Prefix that follows specification is not enough though. Remember that the title
184184

185185

186186

187+
187188

188189

docs/migrations/v0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,6 @@ outputPath/
140140

141141

142142

143+
143144

144145

docs/usage.md

Lines changed: 73 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $ npm install -g @the-codegen-project/cli
99
$ codegen COMMAND
1010
running 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]
1414
USAGE
1515
$ codegen COMMAND
@@ -27,6 +27,7 @@ USAGE
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
```
7290
USAGE
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
7594
ARGUMENTS
7695
FILE Path or URL to the configuration file, defaults to root of where the command is run
7796
7897
FLAGS
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
84109
DESCRIPTION
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
```
115141
USAGE
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
121147
FLAGS
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
144177
DESCRIPTION
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

152185
Manage telemetry settings
153186

154187
```
155188
USAGE
156-
$ codegen telemetry ACTION [--help]
189+
$ codegen telemetry ACTION [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [--help]
157190
158191
ARGUMENTS
159192
ACTION (status|enable|disable) Action to perform: status, enable, or disable
160193
161194
FLAGS
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
164203
DESCRIPTION
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

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@the-codegen-project/cli",
33
"description": "CLI to work with code generation in any environment",
4-
"version": "0.63.1",
4+
"version": "0.64.0",
55
"bin": {
66
"codegen": "./bin/run.mjs"
77
},

0 commit comments

Comments
 (0)