gplay auth doctor
Run the doctor sequence from docs/DESIGN.md §1:
- Service account JSON is valid
- OAuth2 access token can be minted
- Token carries the androidpublisher scope
- (Per --package) edits.insert + edits.delete round-trip on the package
Checks 1–3 run once. Check 4 runs once per --package value passed (in order). Checks run in order and the chain stops on the first failure; subsequent checks are reported as skipped. Use --output json to get a structured []CheckResult for scripting.
gplay auth doctor [flags]| Flag | Description |
|---|---|
--output string | output format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI) |
--package strings | Android package name to round-trip an edits.insert+delete against; repeat for multiple packages |
Global flags
Section titled “Global flags”| Flag | Description |
|---|---|
--account string | name of a stored Account to use (overrides env and active Account) |
--retry int | retry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry) |
--service-account string | path to a service-account JSON, or inline JSON content (overrides --account, env, and active Account) |
--timeout duration | per-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads) |
-v, --verbose | log flow steps to stderr (info level) |