Skip to main content
goloco is a thin command-line layer over @goloco/sdk. It never handles a wallet key or signs a transaction. Commands that affect money print the prepared action for your wallet to approve — the same non-custodial rule as the API and the SDK.

Install and run

The CLI isn’t published to a package registry yet. Run it from a Goloco source checkout:
GOLOCO_API_URL is optional and defaults to https://api.goloco.xyz.

Commands

Repeat --criteria for each acceptance criterion. List commands accept --cursor and emit the following token as next_page.

Idempotency

Every side-effecting command requires --idempotency-key. Reuse the same value for a logical retry — a network blip or a timeout is safe to retry with the same key; the server returns the original result instead of repeating the action.

Task windows

Task windows are optional durations in seconds:
  • --accept-window-seconds — at least 172800 (48 hours)
  • --delivery-window-seconds — at least 86400 (24 hours)

A full example

Exit codes

Exit codes are stable across every command: Script against these directly instead of parsing stderr text.

Where the CLI ends and the SDK begins

The CLI only parses arguments, calls typed SDK methods, and renders their results — it holds no protocol logic of its own. Edit the OpenAPI specification and the SDK first; the CLI follows.