Skip to content
⌘K

Command reference

okibi regenerate

Rebuild a CLI from its source, as the web's Regenerate does

Generated from okibi 0.2.7. Every command also takes the global flag --agent.

Usage
okibi regenerate <cli> [flags]

Flags

FlagTypeDescription
--api-urlstringOkibi API base URLdefault https://okibi.ai
--branchstringagent-built repository CLIs: the branch to regenerate from ('' = the default branch)
--dirstringCLIs built from a code directory: the directory again, for the agent to read (a changed one writes the spec again)
--jsonboolprint the build as JSON once it settles
--no-pullbooldon't download the generated CLI once it's ready
--no-waitboolstart the build and return without following it
--outstringdirectory to unpack the generated CLI into (default: ./<name>)
--rewrite-specbooldocs- or code-built CLIs: have the agent write the spec again (once per written spec; it counts as a generation)
--workspacestringworkspace slug (or OKIBI_WORKSPACE; ignored for workspace-locked keys)