Skip to content

Configuration

Credentials live in ~/.craftybase/config.toml, keyed by profile (profiles.default), written atomically with 0600 permissions.

The API base URL is resolved as: --api-url flag → CRAFTYBASE_API_URL env → stored profile → default (https://api.craftybase.com).

FlagPurpose
--jsonRaw API envelope (pretty-printed)
--ndjsonAuto-paginated NDJSON stream
--no-colorDisable ANSI color
--token <token>Override stored credentials
--api-url <url>Override the API base URL
--verboseShow HTTP request/response detail (token redacted)