Generated from okibi 0.2.14. Every command also takes the global flag --agent.
okibi spec [command]okibi spec show
Print a CLI's durable cli-spec.md
okibi spec show <cli-name> [flags]Flags
| Flag | Type | Description |
|---|---|---|
| --api-url | string | Okibi API base URL |
| --workspace | string | workspace slug for the CLI (or OKIBI_WORKSPACE; ignored for workspace-locked keys) |
okibi spec source
Print the OpenAPI spec a CLI builds from, or save it with --out. A CLI built from a linked spec URL keeps no spec file: the command exits with an error saying so (--json prints "spec": null instead).
okibi spec source <cli-name> [flags]Flags
| Flag | Type | Description |
|---|---|---|
| --api-url | string | Okibi API base URL |
| --json | bool | print the spec's details (name, size, who wrote it) as JSON; with --out, after saving it |
| --out | string | write the spec to this file instead of stdout |
| --workspace | string | workspace slug (or OKIBI_WORKSPACE) |
okibi spec source stripe > openapi.yaml okibi spec source stripe --out openapi.yaml okibi spec source stripe --json
