Skip to content
⌘K

Command reference

okibi spec

Read a CLI's spec, or the OpenAPI spec it builds from

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

Usage
okibi spec [command]

Commands

showPrint a CLI's durable cli-spec.md
sourcePrint the OpenAPI spec a CLI builds from (uploaded, or written by Okibi from docs or code)

okibi spec show

Print a CLI's durable cli-spec.md

Usage
okibi spec show <cli-name> [flags]

Flags

FlagTypeDescription
--api-urlstringOkibi API base URLdefault https://okibi.ai
--workspacestringworkspace 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).

Usage
okibi spec source <cli-name> [flags]

Flags

FlagTypeDescription
--api-urlstringOkibi API base URLdefault https://okibi.ai
--jsonboolprint the spec's details (name, size, who wrote it) as JSON; with --out, after saving it
--outstringwrite the spec to this file instead of stdout
--workspacestringworkspace slug (or OKIBI_WORKSPACE)
Examples
okibi spec source stripe > openapi.yaml
okibi spec source stripe --out openapi.yaml
okibi spec source stripe --json