This document contains the help content for the api-gen command-line program.
Command Overview:
Usage: api-gen <COMMAND>
generate— Generate based off the templateinit— Initialize a new projectcontext— Outputs the context as JSON
Generate based off the template
Usage: api-gen generate [OPTIONS] --api <API> --output <OUTPUT>
-a,--api <API>— OpenAPI file(s) to generate from. It can be a folder-o,--output <OUTPUT>— Output file-c,--config <FILE>— Sets a custom config file-v,--verbose— Verbose mode (-v, -vv, -vvv, etc.)-q,--quiet— Quiet mode, only displays warnings and errors
Initialize a new project
Usage: api-gen init
Outputs the context as JSON
Usage: api-gen context [OPTIONS] --api <API>
-a,--api <API>— OpenAPI file(s) to generate from. It can be a folder-c,--config <FILE>— Sets a custom config file-v,--verbose— Verbose mode (-v, -vv, -vvv, etc.)-q,--quiet— Quiet mode, only displays warnings and errors
This document was generated automatically by
clap-markdown.