diff --git a/.changeset/docs-generate-cmd-ref.md b/.changeset/docs-generate-cmd-ref.md new file mode 100644 index 000000000..9e7377dee --- /dev/null +++ b/.changeset/docs-generate-cmd-ref.md @@ -0,0 +1,5 @@ +--- +"@asyncapi/cli": patch +--- + +docs: add generate command reference diff --git a/docs/commands/generate.md b/docs/commands/generate.md new file mode 100644 index 000000000..8253e3ea9 --- /dev/null +++ b/docs/commands/generate.md @@ -0,0 +1,73 @@ + + +# asyncapi generate + +Generates code from AsyncAPI documents using AsyncAPI Generator templates. + +## Description + +The `asyncapi generate` command generates code from AsyncAPI documents using AsyncAPI Generator templates. This allows developers to quickly implement API clients, servers, documentation, and more based on their AsyncAPI specifications. + +The command supports three main subcommands: + +1. **Generate from template**: `asyncapi generate fromTemplate