Documentation
README
ghealth — Shared Prerequisites
Setup
ghealth setup # interactive wizard, run once
Six steps: GCP project ID, OAuth client_secret JSON (Desktop application), Health API enable, scope selection, browser-based OAuth, save profile.
Scriptable (skips prompts):
ghealth setup \
--project-id my-project \
--client-secret ~/Downloads/client_secret_123.json \
--scopes-preset readonly \
--skip-enable-api \
--no-prompt
Add --non-interactive-auth to skip the browser step and finish later with ghealth auth login --complete <code>.
Files written
All under ~/.config/ghealth/ (override with GHEALTH_CONFIG_DIR):
This is the opening of the README. Read the full README on GitHub.