Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $ npm install -g @the-codegen-project/cli
$ codegen COMMAND
running command...
$ codegen (--version)
@the-codegen-project/cli/0.82.0 <platform> node-<version>
@the-codegen-project/cli/0.82.1 <platform> node-<version>
$ codegen --help [COMMAND]
USAGE
$ codegen COMMAND
Expand Down Expand Up @@ -92,7 +92,7 @@ DESCRIPTION
configuration.
```

_See code: [src/commands/generate.ts](https://github.com/the-codegen-project/cli/blob/v0.82.0/src/commands/generate.ts)_
_See code: [src/commands/generate.ts](https://github.com/the-codegen-project/cli/blob/v0.82.1/src/commands/generate.ts)_

## `codegen help [COMMAND]`

Expand Down Expand Up @@ -167,7 +167,7 @@ DESCRIPTION
Initialize The Codegen Project in your project
```

_See code: [src/commands/init.ts](https://github.com/the-codegen-project/cli/blob/v0.82.0/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/the-codegen-project/cli/blob/v0.82.1/src/commands/init.ts)_

## `codegen telemetry ACTION`

Expand Down Expand Up @@ -200,7 +200,7 @@ EXAMPLES
$ codegen telemetry disable
```

_See code: [src/commands/telemetry.ts](https://github.com/the-codegen-project/cli/blob/v0.82.0/src/commands/telemetry.ts)_
_See code: [src/commands/telemetry.ts](https://github.com/the-codegen-project/cli/blob/v0.82.1/src/commands/telemetry.ts)_

## `codegen version`

Expand Down
4 changes: 2 additions & 2 deletions mcp-server/lib/resources/bundled-docs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Auto-generated documentation bundle.
* DO NOT EDIT - regenerate with: npm run bundle-docs
* Generated at: 2026-08-01T19:51:11.587Z
* Generated at: 2026-08-01T20:31:29.815Z
*/

export interface DocEntry {
Expand Down Expand Up @@ -148,7 +148,7 @@ export const docs: Record<string, DocEntry> = {
},
"usage": {
title: "Untitled",
content: "<!-- usage -->\n```sh-session\n$ npm install -g @the-codegen-project/cli\n$ codegen COMMAND\nrunning command...\n$ codegen (--version)\n@the-codegen-project/cli/0.82.0 <platform> node-<version>\n$ codegen --help [COMMAND]\nUSAGE\n $ codegen COMMAND\n...\n```\n<!-- usagestop -->\n\n## Table of contents\n\n<!-- toc -->\n\n<!-- tocstop -->\n\n## Commands\n\n<!-- commands -->\n* [`codegen autocomplete [SHELL]`](#codegen-autocomplete-shell)\n* [`codegen generate [FILE]`](#codegen-generate-file)\n* [`codegen help [COMMAND]`](#codegen-help-command)\n* [`codegen init`](#codegen-init)\n* [`codegen telemetry ACTION`](#codegen-telemetry-action)\n* [`codegen version`](#codegen-version)\n\n## `codegen autocomplete [SHELL]`\n\nDisplay autocomplete installation instructions.\n\n```\nUSAGE\n $ codegen autocomplete [SHELL] [-r]\n\nARGUMENTS\n SHELL (zsh|bash|powershell) Shell type\n\nFLAGS\n -r, --refresh-cache Refresh cache (ignores displaying instructions)\n\nDESCRIPTION\n Display autocomplete installation instructions.\n\nEXAMPLES\n $ codegen autocomplete\n\n $ codegen autocomplete bash\n\n $ codegen autocomplete zsh\n\n $ codegen autocomplete powershell\n\n $ codegen autocomplete --refresh-cache\n```\n\n_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.45/src/commands/autocomplete/index.ts)_\n\n## `codegen generate [FILE]`\n\nGenerate code based on your configuration, use `init` to get started, `generate` to generate code from the configuration.\n\n```\nUSAGE\n $ codegen generate [FILE] [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [--help] [-w] [-p\n <value>]\n\nARGUMENTS\n FILE Path or URL to the configuration file, defaults to root of where the command is run\n\nFLAGS\n -p, --watchPath=<value> Optional path to watch for changes when --watch flag is used. If not provided, watches the\n input file from configuration\n -q, --quiet Only show errors and warnings\n -v, --verbose Show detailed output\n -w, --watch Watch for file changes and regenerate code automatically\n --debug Show debug information\n --help Show CLI help.\n --json Output results as JSON for scripting\n --no-color Disable colored output\n --silent Suppress all output except fatal errors\n\nDESCRIPTION\n Generate code based on your configuration, use `init` to get started, `generate` to generate code from the\n configuration.\n```\n\n_See code: [src/commands/generate.ts](https://github.com/the-codegen-project/cli/blob/v0.82.0/src/commands/generate.ts)_\n\n## `codegen help [COMMAND]`\n\nDisplay help for codegen.\n\n```\nUSAGE\n $ codegen help [COMMAND...] [-n]\n\nARGUMENTS\n COMMAND... Command to show help for.\n\nFLAGS\n -n, --nested-commands Include all nested commands in the output.\n\nDESCRIPTION\n Display help for codegen.\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_\n\n## `codegen init`\n\nInitialize The Codegen Project in your project\n\n```\nUSAGE\n $ codegen init [--json] [--no-color] [--debug | | [--silent | -v | -q]] [--help] [--input-file <value>]\n [--config-name <value>] [--input-type asyncapi|openapi|jsonschema] [--output-directory <value>] [--config-type\n esm|json|yaml|ts] [--languages typescript] [--channels-protocols\n nats|kafka|mqtt|amqp|event_source|http_client|websocket|http_server] [--no-tty] [--include-payloads]\n [--include-headers] [--include-client] [--include-parameters] [--include-channels] [--include-types]\n [--include-models] [--gitignore-generated]\n\nFLAGS\n -q, --quiet Only show errors and warnings\n -v, --verbose Show detailed output\n --channels-protocols=<option>... Which protocols to generate channel functions for (used with\n --include-channels/--include-client). AsyncAPI inputs accept the messaging\n protocols, OpenAPI inputs accept http_client and http_server. Repeatable.\n <options: nats|kafka|mqtt|amqp|event_source|http_client|websocket|http_server>\n --config-name=<value> [default: codegen] The name to use for the configuration file (dont include file\n extension)\n --config-type=<option> [default: esm] The type of configuration file. 'esm', 'ts' can do everything,\n 'json' and 'yaml' is more restrictive. Read more here:\n https://github.com/the-codegen-project/cli/blob/main/docs/configurations.md\n <options: esm|json|yaml|ts>\n --debug Show debug information\n --gitignore-generated Add generated output directories to .gitignore\n --help Show CLI help.\n --include-channels Include channels generation, available for TypeScript\n --include-client Include client generation, available for TypeScript\n --include-headers Include headers generation, available for TypeScript\n --include-models Include models generation, available for TypeScript\n --include-parameters Include parameters generation, available for TypeScript\n --include-payloads Include payloads generation, available for TypeScript\n --include-types Include types generation, available for TypeScript\n --input-file=<value> File path for the code generation input such as AsyncAPI document\n --input-type=<option> Input file type\n <options: asyncapi|openapi|jsonschema>\n --json Output results as JSON for scripting\n --languages=<option> [default: typescript] Which languages do you wish to generate code for?\n <options: typescript>\n --no-color Disable colored output\n --no-tty Do not use an interactive terminal\n --output-directory=<value> [default: ./] Output configuration location, path to where the configuration\n file should be located. If relative path, the current working directory of the\n terminal will be used\n --silent Suppress all output except fatal errors\n\nDESCRIPTION\n Initialize The Codegen Project in your project\n```\n\n_See code: [src/commands/init.ts](https://github.com/the-codegen-project/cli/blob/v0.82.0/src/commands/init.ts)_\n\n## `codegen telemetry ACTION`\n\nManage telemetry settings\n\n```\nUSAGE\n $ codegen telemetry ACTION [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [--help]\n\nARGUMENTS\n ACTION (status|enable|disable) Action to perform: status, enable, or disable\n\nFLAGS\n -q, --quiet Only show errors and warnings\n -v, --verbose Show detailed output\n --debug Show debug information\n --help Show CLI help.\n --json Output results as JSON for scripting\n --no-color Disable colored output\n --silent Suppress all output except fatal errors\n\nDESCRIPTION\n Manage telemetry settings\n\nEXAMPLES\n $ codegen telemetry status\n\n $ codegen telemetry enable\n\n $ codegen telemetry disable\n```\n\n_See code: [src/commands/telemetry.ts](https://github.com/the-codegen-project/cli/blob/v0.82.0/src/commands/telemetry.ts)_\n\n## `codegen version`\n\n```\nUSAGE\n $ codegen version [--json] [--verbose]\n\nFLAGS\n --verbose Show additional information about the CLI.\n\nGLOBAL FLAGS\n --json Format output as json.\n\nFLAG DESCRIPTIONS\n --verbose Show additional information about the CLI.\n\n Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.\n```\n\n_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.1.2/src/commands/version.ts)_\n<!-- commandsstop -->",
content: "<!-- usage -->\n```sh-session\n$ npm install -g @the-codegen-project/cli\n$ codegen COMMAND\nrunning command...\n$ codegen (--version)\n@the-codegen-project/cli/0.82.1 <platform> node-<version>\n$ codegen --help [COMMAND]\nUSAGE\n $ codegen COMMAND\n...\n```\n<!-- usagestop -->\n\n## Table of contents\n\n<!-- toc -->\n\n<!-- tocstop -->\n\n## Commands\n\n<!-- commands -->\n* [`codegen autocomplete [SHELL]`](#codegen-autocomplete-shell)\n* [`codegen generate [FILE]`](#codegen-generate-file)\n* [`codegen help [COMMAND]`](#codegen-help-command)\n* [`codegen init`](#codegen-init)\n* [`codegen telemetry ACTION`](#codegen-telemetry-action)\n* [`codegen version`](#codegen-version)\n\n## `codegen autocomplete [SHELL]`\n\nDisplay autocomplete installation instructions.\n\n```\nUSAGE\n $ codegen autocomplete [SHELL] [-r]\n\nARGUMENTS\n SHELL (zsh|bash|powershell) Shell type\n\nFLAGS\n -r, --refresh-cache Refresh cache (ignores displaying instructions)\n\nDESCRIPTION\n Display autocomplete installation instructions.\n\nEXAMPLES\n $ codegen autocomplete\n\n $ codegen autocomplete bash\n\n $ codegen autocomplete zsh\n\n $ codegen autocomplete powershell\n\n $ codegen autocomplete --refresh-cache\n```\n\n_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.54/src/commands/autocomplete/index.ts)_\n\n## `codegen generate [FILE]`\n\nGenerate code based on your configuration, use `init` to get started, `generate` to generate code from the configuration.\n\n```\nUSAGE\n $ codegen generate [FILE] [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [--help] [-w] [-p\n <value>]\n\nARGUMENTS\n FILE Path or URL to the configuration file, defaults to root of where the command is run\n\nFLAGS\n -p, --watchPath=<value> Optional path to watch for changes when --watch flag is used. If not provided, watches the\n input file from configuration\n -q, --quiet Only show errors and warnings\n -v, --verbose Show detailed output\n -w, --watch Watch for file changes and regenerate code automatically\n --debug Show debug information\n --help Show CLI help.\n --json Output results as JSON for scripting\n --no-color Disable colored output\n --silent Suppress all output except fatal errors\n\nDESCRIPTION\n Generate code based on your configuration, use `init` to get started, `generate` to generate code from the\n configuration.\n```\n\n_See code: [src/commands/generate.ts](https://github.com/the-codegen-project/cli/blob/v0.82.1/src/commands/generate.ts)_\n\n## `codegen help [COMMAND]`\n\nDisplay help for codegen.\n\n```\nUSAGE\n $ codegen help [COMMAND...] [-n]\n\nARGUMENTS\n COMMAND... Command to show help for.\n\nFLAGS\n -n, --nested-commands Include all nested commands in the output.\n\nDESCRIPTION\n Display help for codegen.\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_\n\n## `codegen init`\n\nInitialize The Codegen Project in your project\n\n```\nUSAGE\n $ codegen init [--json] [--no-color] [--debug | | [--silent | -v | -q]] [--help] [--input-file <value>]\n [--config-name <value>] [--input-type asyncapi|openapi|jsonschema] [--output-directory <value>] [--config-type\n esm|json|yaml|ts] [--languages typescript] [--channels-protocols\n nats|kafka|mqtt|amqp|event_source|http_client|websocket|http_server] [--no-tty] [--include-payloads]\n [--include-headers] [--include-client] [--include-parameters] [--include-channels] [--include-types]\n [--include-models] [--gitignore-generated]\n\nFLAGS\n -q, --quiet Only show errors and warnings\n -v, --verbose Show detailed output\n --channels-protocols=<option>... Which protocols to generate channel functions for (used with\n --include-channels/--include-client). AsyncAPI inputs accept the messaging\n protocols, OpenAPI inputs accept http_client and http_server. Repeatable.\n <options: nats|kafka|mqtt|amqp|event_source|http_client|websocket|http_server>\n --config-name=<value> [default: codegen] The name to use for the configuration file (dont include file\n extension)\n --config-type=<option> [default: esm] The type of configuration file. 'esm', 'ts' can do everything,\n 'json' and 'yaml' is more restrictive. Read more here:\n https://github.com/the-codegen-project/cli/blob/main/docs/configurations.md\n <options: esm|json|yaml|ts>\n --debug Show debug information\n --gitignore-generated Add generated output directories to .gitignore\n --help Show CLI help.\n --include-channels Include channels generation, available for TypeScript\n --include-client Include client generation, available for TypeScript\n --include-headers Include headers generation, available for TypeScript\n --include-models Include models generation, available for TypeScript\n --include-parameters Include parameters generation, available for TypeScript\n --include-payloads Include payloads generation, available for TypeScript\n --include-types Include types generation, available for TypeScript\n --input-file=<value> File path for the code generation input such as AsyncAPI document\n --input-type=<option> Input file type\n <options: asyncapi|openapi|jsonschema>\n --json Output results as JSON for scripting\n --languages=<option> [default: typescript] Which languages do you wish to generate code for?\n <options: typescript>\n --no-color Disable colored output\n --no-tty Do not use an interactive terminal\n --output-directory=<value> [default: ./] Output configuration location, path to where the configuration\n file should be located. If relative path, the current working directory of the\n terminal will be used\n --silent Suppress all output except fatal errors\n\nDESCRIPTION\n Initialize The Codegen Project in your project\n```\n\n_See code: [src/commands/init.ts](https://github.com/the-codegen-project/cli/blob/v0.82.1/src/commands/init.ts)_\n\n## `codegen telemetry ACTION`\n\nManage telemetry settings\n\n```\nUSAGE\n $ codegen telemetry ACTION [--json] [--no-color] [--debug | [-q | -v | --silent] | ] [--help]\n\nARGUMENTS\n ACTION (status|enable|disable) Action to perform: status, enable, or disable\n\nFLAGS\n -q, --quiet Only show errors and warnings\n -v, --verbose Show detailed output\n --debug Show debug information\n --help Show CLI help.\n --json Output results as JSON for scripting\n --no-color Disable colored output\n --silent Suppress all output except fatal errors\n\nDESCRIPTION\n Manage telemetry settings\n\nEXAMPLES\n $ codegen telemetry status\n\n $ codegen telemetry enable\n\n $ codegen telemetry disable\n```\n\n_See code: [src/commands/telemetry.ts](https://github.com/the-codegen-project/cli/blob/v0.82.1/src/commands/telemetry.ts)_\n\n## `codegen version`\n\n```\nUSAGE\n $ codegen version [--json] [--verbose]\n\nFLAGS\n --verbose Show additional information about the CLI.\n\nGLOBAL FLAGS\n --json Format output as json.\n\nFLAG DESCRIPTIONS\n --verbose Show additional information about the CLI.\n\n Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.\n```\n\n_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/2.2.53/src/commands/version.ts)_\n<!-- commandsstop -->",
}
};

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@the-codegen-project/cli",
"description": "CLI to work with code generation in any environment",
"version": "0.82.0",
"version": "0.82.1",
"bin": {
"codegen": "./bin/run.mjs"
},
Expand Down
Loading
Loading