Skip to content

Missing required subcommands: 'prime' and 'auth status' #17

Description

@DTTerastar

Severity

blocker

Summary

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions