@goodfeels/cli
v0.1.4
Published
Good Feels gateway CLI for querying the hosted data gateway over HTTP.
Maintainers
Readme
Good Feels CLI
Thin npm CLI for querying the hosted Good Feels data gateway over HTTP.
Install
npm install -g @goodfeels/cliInstalled commands:
goodfeelsgfgfdg(legacy alias)
Quick Start
Authenticate once:
goodfeels auth loginThen run a few reads:
goodfeels system capabilities
goodfeels metrics summary --range today
goodfeels ads summary --range last_30d --json
gf inventory list --jsonAuth
The CLI resolves credentials in this order:
DATA_GATEWAY_TOKEN- stored macOS Keychain token for the selected API URL
- interactive prompt in a TTY
Helpful commands:
goodfeels auth login
goodfeels auth status
goodfeels auth logoutConfiguration
Supported environment variables:
DATA_GATEWAY_URLDefaults tohttps://goodfeels-data-gateway.fly.devDATA_GATEWAY_TOKENBearer token for authenticated requestsDATA_GATEWAY_TIMEOUT_MSRequest timeout in milliseconds. Defaults to10000DATA_GATEWAY_GET_RETRY_COUNTGET retries on timeout, network failure,429, or5xx. Defaults to1
One-off API override:
goodfeels --api-url https://goodfeels-data-gateway.fly.dev system healthCommon Commands
goodfeels --help
goodfeels --version
goodfeels metrics summary --range today
goodfeels orders breakdown --range last_7d --json
goodfeels discounts summary --range last_30d --json
goodfeels customers ltv --json
goodfeels revenue mrr --json
goodfeels email summary --range last_30d --json
goodfeels web traffic --range last_30d --json
goodfeels inventory list --json
goodfeels ads summary --range last_30d --jsonHosted Gateway
- API docs:
https://goodfeels-data-gateway.fly.dev/docs - OpenAPI:
https://goodfeels-data-gateway.fly.dev/openapi.yaml - MCP endpoint:
https://goodfeels-data-gateway.fly.dev/mcp - Admin panel:
https://goodfeels-data-gateway.fly.dev/admin
Repo Docs
For gateway development and operations, see:
../../docs/OPERATIONS.md../../openapi/openapi.yaml../../DECISIONS.md
