Skip to content
@calycode/cli docs
GitHub Discord

generate codegen

Usage

bash
$ caly-xano generate codegen [passthroughArgs...] [options]

Options

FlagDescription
-i, --instance <instance>The instance name. This is used to fetch the instance configuration. The value provided at the setup command.
-w, --workspace <workspace>The workspace name. This is used to fetch the workspace configuration. Same as on Xano interface.
-b, --branch <branch>The branch name. This is used to select the branch configuration. Same as on Xano Interface.
-g, --group <name>API group name. Same as on Xano Interface.
-A, --allRegenerate for all API groups in the workspace / branch of the current context.
--print-output-dirExpose usable output path for further reuse.
--generator <generator>Generator to use (default: typescript-fetch). If omitted in an interactive terminal you will be prompted to pick one. See all options at: https://openapi-generator.tech/docs/generators or the full list of orval clients. To use orval client, write the generator as this: orval-<orval-client>.
--debugSpecify this flag in order to allow logging. Logs will appear in output/_logs. Default: false