Reference

gohealthcli irn-profile

Fetch the upstream users.getIrnProfile payload (onboarding state, enrollment state for Google's irregular-rhythm-notification feature) and append it to the Health Archive as a new Identity Snapshot of kind irn-profile. The current_irn_profile Normalized View projects the latest snapshot as columns.

Requires the irn.readonly OAuth scope — run gohealthcli connect --add-scopes irn once to grant it. If the scope is not granted, irn-profile exits with a clear reconnect instruction and does not trigger the browser flow.

#Flags

FlagTypeDefaultDescription
--configstringconfig file path
--dbstringSQLite Health Archive path
--jsonboolfalsewrite stable JSON to stdout
--plainboolfalsewrite plain key/value output to stdout