Getting Started in 5 minutes
Its simple, install the CLI into your project or machine, setup the Codegen configuration file to include all the code your heart desire, customize it, and generate it at build time or whenever you feel like it.
Install
Installing the CLI can be done inside a project or within your system.
Package manager | MacOS x64 | MacOS arm64 | Windows x64 | Windows x32 | Linux (Debian) | Linux (Others) |
---|---|---|---|---|---|---|
You can find all the possible commands in the usage documentation.
Initialize
Add a configuration file, either manually or through the CLI;
codegen init
Customize it to your heart's desire! Each generator has unique set of options
Integrate
With your configuration file in hand, time to integrate it into your project and generate some code! Checkout all the integrations for inspiration how to do it.
Or manually generate some code;
codegen generate