geogen subcommand. They must appear before the subcommand (e.g. geogen --json entities list, not geogen entities list --json).
--json
The default output is a formatted table optimized for humans. Pass --json for clean structured output:
/v1 API and is stable.
--api-key and --base-url
These exist for two cases:
- Multi-workspace scripts: pass a different key per call without juggling env vars.
- Staging or self-hosted backends: point at a non-production base URL.
Exit codes
Standard output is reserved for command results; status, info, and error messages go to stderr. That means
geogen --json entities list > entities.json produces a clean JSON file even if status messages would otherwise be printed.
