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
Empty markdown output prints '_(no records in window)_' instead of being empty — breaks 'data only on stdout' contract #16
$ /tmp/crono-export biometrics --since today --until today > /tmp/out 2>/tmp/err
$ cat /tmp/out
_(no records in window)_
This breaks scripts that pipe markdown output into something like pandoc or simply check [ -s file ] to decide whether to send the report. It's also a stdout-vs-stderr contract violation: the message is meta-information, not data, so it belongs on stderr (or simply omitted).
Expected behaviors (pick one, ideally the first):
Empty result -> empty stdout (zero bytes), exit 0. (Matches the JSON branch, which prints [] only because that is the data.)
If a human-readable hint is desired, print it on stderr, not stdout.
Affected callers: renderServings, renderBiometrics, renderExercises, renderNutrition, renderNotes all delegate to emptyMsg.
Activity
v0.2.0 release prep: 8 fixes for ship-blocker QA findings (#44)
DTTerastar commentedon May 19, 2026
Fixed in v1.0.0 — https://github.com/quantcli/crono-export-cli/releases/tag/v1.0.0