You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing required subcommands: 'prime' and 'auth status' #17
The quantcli contract requires every CLI to expose:
withings-export prime — one-screen primer for LLM agents
withings-export auth status — fast local check, exit 0 if a usable token is saved, 1 otherwise, no network call
Neither is reachable in the shipped binary.
Reproduce
$ withings-export prime
Error: unknown command "prime" for "withings-export"
Run 'withings-export --help' for usage.
$ withings-export auth status
Authentication commands
Usage:
withings-export auth [command]
Available Commands:
login Log in to Withings via OAuth2 in your browser
logout Remove stored auth tokens
refresh Force a token refresh and report status
...
$ echo $?
0
auth status falls through to Cobra's auto-help (and exits 0 silently — that's also wrong; with an unknown subcommand we'd at least expect a non-zero exit).
Expected
Both subcommands exist on main (cmd/prime.go, cmd/auth.go's statusCmd) but were merged after v0.2.1 was tagged. A new release will fix this — see #14.
Does not reproduce against HEAD b580683. prime prints the LLM primer; auth status -> "logged in as user 1629692 (token expires ...)" with EXIT=0. Fixed by PRs #9 and #10. Closing.
Activity
DTTerastar commentedon Apr 25, 2026
Does not reproduce against HEAD b580683.
primeprints the LLM primer;auth status-> "logged in as user 1629692 (token expires ...)" with EXIT=0. Fixed by PRs #9 and #10. Closing.