govera-cli
v0.1.0
Published
Official CLI for the Govera public API — governance platform for public agencies (cities, counties, school districts). Query service status, product info, capabilities, and guides from the terminal or CI.
Maintainers
Readme
govera-cli
Official command-line client for the Govera public API.
Govera is an AI-powered governance preparation platform for public agencies — cities, counties, school districts, and other governing boards. This CLI queries Govera's public, read-only API: service status, product info, platform capabilities, developer guides, and the OpenAPI specification.
No API key or authentication is required. The API is static JSON served over plain HTTPS.
Install
Run it without installing anything:
npx govera-cli statusOr install it globally:
npm install -g govera-cli
govera statusUsage
govera <command> [flags]Commands
| Command | Description |
|----------------|-----------------------------------------------|
| status | Show API/service status |
| product | Show product info |
| capabilities | List platform capabilities |
| guides | List developer guides |
| openapi | Fetch and print the OpenAPI 3.1 specification |
| version | Print the CLI version |
| help | Show usage text |
Examples
# Human-readable summaries
govera status
govera product
govera capabilities
govera guides
# Raw JSON (useful for piping into jq, CI, or scripts)
govera status --json
govera capabilities --json | jq '.capabilities[].id'
# The OpenAPI 3.1 spec
govera openapi
govera openapi --json
# Point at a different environment
govera status --base https://staging.govera.co/api/v1
# Help / version
govera help
govera --versionFlags
| Flag | Description |
|-----------------|----------------------------------------------------------------------|
| --json | Print the raw JSON response instead of a formatted summary |
| --base <url> | Override the API base URL (default: https://www.govera.co/api/v1) |
| --help, -h | Show help |
| --version, -v | Show the installed CLI version |
On an HTTP error or network failure, the CLI prints a clear message to
stderr and exits with code 1. application/problem+json error bodies
(RFC 9457) are parsed and their title/detail fields are shown.
Links
- Developer docs: https://www.govera.co/developers
- OpenAPI spec: https://www.govera.co/openapi.json
Development
npm install
npm testThe CLI has no runtime dependencies — it uses Node's built-in global
fetch (Node >= 18). vitest is a dev-only dependency for the test suite.
License
MIT
