DocsCLI
Flags & env vars
Global flags accepted by every command, and the env vars seedkit reads.
Global flags
These flags work on every seedkit subcommand.
| Flag | Type | Description |
|---|---|---|
--help, -h | flag | Print command-specific help. |
--version | flag | Print the CLI version. |
--quiet | flag | Suppress progress output. Errors still print to stderr. |
--verbose, -v | flag | Print debug info. Pass twice (-vv) for trace-level. |
--no-color | flag | Disable ANSI color in output. Honored automatically when $NO_COLOR is set. |
--json | flag | Where supported, emit machine-readable JSON. Implies --quiet. |
--org <slug> | string | Override the active org. |
Environment variables
| Variable | Purpose |
|---|---|
SEEDKIT_TOKEN | API token. Takes precedence over the credentials file. |
SEEDKIT_API_URL | Override the hosted-side base URL. Default: https://api.seedkit.dev. Useful for staging. |
SEEDKIT_HOME | Override the credentials directory. Default: $HOME/.seedkit. |
DATABASE_URL | Read by seedkit seed when --url is omitted. |
NO_COLOR | Disables ANSI color in output. |
CI | When set to a truthy value, seedkit assumes non-interactive mode (no prompts; failures exit nonzero). |
Exit codes (cross-command)
| Code | Meaning |
|---|---|
0 | Success. |
2 | Invalid arguments. |
3 | Schema parse / introspection failed. |
4 | Generation failed (LLM upstream). Retryable. |
5 | Provisioning failed (Neon upstream). Retryable. |
6 | --from-cache set but no cached entry for this key. |
7 | DB connection failed. |
8 | Auth required (no token, or token rejected). |