aboutsummaryrefslogtreecommitdiff
path: root/internal/web/server.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-23 21:01:05 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-23 21:01:05 +0200
commitffa4676a34851d667acbf8a460321ff93310b7ba (patch)
tree69b686dcb235cd3473d9ad28f2c69748358a81f7 /internal/web/server.go
parentf4e15c0c6e0f2e7a0a0d0654a63824834c9e4166 (diff)
downloadlectio-ffa4676a34851d667acbf8a460321ff93310b7ba.tar.gz
lectio-ffa4676a34851d667acbf8a460321ff93310b7ba.zip
cli: flag-driven interface (short+long); -u maximal blip-proof harvest
Replace the today/date/show/compare/update subcommands with a single flag-driven interface like the Python predecessor: lectio [DATE] -a/-b/-c/-r/-w/-R/-o/-l/-g/-u, short and long names bound to the same variable, DATE (YYYY-MM-DD) extracted from any position in the args. Fix Harvest's "-u" to walk to the true maximal horizon without a transient network error being mistaken for it: a fetch failure now retries a few times with backoff and, if it still fails, is reported as an error (after saving partial progress via writeSigla), while a Parse failure (the real unpublished-horizon placeholder) still stops cleanly with a nil error.
Diffstat (limited to 'internal/web/server.go')
0 files changed, 0 insertions, 0 deletions