A first build is rarely the last one. Check the CLI against what your users need. Then pick the smallest change that fixes what you found.
Check the CLI
- Read
my-cli --help, then the help of the commands your users need most. The project's Docs, orokibi clis docs my-cli, show the same. - Try its commands in a safe preview: Try it on the Builds page, or
/simulator my-cliin the TUI. - Sign in the way your users will.
- Try a read, a list that needs more than one page, an error, and a safe write.
- Confirm it calls the right API base URL before you point it at real customer data.
Every build checks that each command answers --help and that doctor runs. Only you know your product's permissions and workflows, so test those yourself.
Pick the change
| What you found | What to do |
|---|---|
| A command's name, group, help, or examples should change | Accept an improvement, edit okibi.yml, or ask the project chat, in the studio |
You need a command or fix okibi.yml can't make | Make a custom request |
| The spec changed, or you want new endpoints | Regenerate, or let the pipeline rebuild on its own |
| The spec an agent wrote from docs or code is wrong | Write the spec again, or okibi regenerate my-cli --rewrite-spec. It counts as 1 generation, once per written spec |
| The API base URL is wrong | Change the API endpoint |
| You changed the generated code yourself | Publish your commits |
| A CLI an older generator built needs a fix | Migrate it onto the pipeline |
Studio changes and Regenerate build a new version that waits for you to publish it. None of these move the official release by themselves. You choose that in Releases and install.
Read the spec
The project's Spec page shows the OpenAPI spec the CLI builds from: the one you gave, or the one Okibi wrote from your docs or code. Each build follows it.
okibi spec source my-cli okibi spec source my-cli --out openapi.yaml
A CLI built from a spec link keeps no spec file: the link is its spec, and spec source says so. For a CLI an older generator built, the Spec page and okibi spec show my-cli show its cli-spec.md too. Both are read-only.
