Generated from okibi 0.2.14. Every command also takes the global flag --agent.
Creates a CLI on the Okibi pipeline, as the web create form does, and follows its build (Spec, Codegen, Lint, Build, Test). An OpenAPI spec (--spec, a link or a local file) builds straight away; docs (--docs) or a GitHub repository (--repo) first have an agent write the spec. --repo with --spec builds the first build straight from that spec; later builds rewrite it from the repository's code as it changes. --example builds the petstore example. With --rebuild, a CLI whose first build never shipped is rebuilt from the new source.
okibi generate [dir] [flags]Flags
| Flag | Type | Description |
|---|---|---|
| --api-url | string | Okibi API base URL |
| --destination | string | where the code goes: hosted (Okibi) or github (your GitHub; Pro) |
| --docs | string | API documentation link (an agent writes the spec) |
| --example | bool | build Okibi's petstore example |
| --github-account | string | with --destination github: the connected GitHub account the code goes to |
| --json | bool | print the build as JSON once it settles |
| --name | string | name of the CLI (kebab-case); --example defaults to petstore |
| --no-pull | bool | don't download the generated CLI once it's ready |
| --no-wait | bool | start the build and return without following it |
| --out | string | directory to unpack the generated CLI into (default: ./<name>) |
| --rebuild | bool | rebuild an existing CLI whose first build never shipped from this source |
| --repo | string | public git repository: github.com/acme/api, or any https:// git link (an agent writes the spec from its code) |
| --spec | string | OpenAPI spec: a link, or a local .json/.yaml file; with --repo, the repository's starting spec |
| --workspace | string | workspace slug (or OKIBI_WORKSPACE; ignored for workspace-locked keys) |
