Severity
major
Summary
The shipped binary only accepts --since, with absolute (YYYY-MM-DD) and relative (Nd/Nw/Nm/Ny) values. The contract requires:
--until flag, inclusive, paired with --since
today and yesterday keywords accepted by both flags
Without these, several documented prime/CONTRACT examples and any windowed query (e.g. "last week, excluding today") are impossible.
Reproduce
$ withings-export activity --until today
Error: unknown flag: --until
$ withings-export activity --since today
Error: invalid --since value: "today"
$ withings-export activity --since yesterday
Error: invalid --since value: "yesterday"
Help text:
--since string Filter on or after date (e.g. 2026-01-01, 30d, 4w, 6m, 1y; default 30d)
no --until, no keyword mention.
Expected
Both flags accept today | yesterday | YYYY-MM-DD | Nd/Nw/Nm/Ny. --until is inclusive of the named day (CLI adds 24h internally per cmd/shared.go:parseUntilValue).
Already implemented on main (PR #8) but missing from v0.2.1 — see #14.
Severity
major
Summary
The shipped binary only accepts
--since, with absolute (YYYY-MM-DD) and relative (Nd/Nw/Nm/Ny) values. The contract requires:--untilflag, inclusive, paired with--sincetodayandyesterdaykeywords accepted by both flagsWithout these, several documented
prime/CONTRACT examples and any windowed query (e.g. "last week, excluding today") are impossible.Reproduce
Help text:
no
--until, no keyword mention.Expected
Both flags accept
today | yesterday | YYYY-MM-DD | Nd/Nw/Nm/Ny.--untilis inclusive of the named day (CLI adds 24h internally percmd/shared.go:parseUntilValue).Already implemented on
main(PR #8) but missing from v0.2.1 — see #14.