| tag name | v1.2.0 (ef9e8b4e4a6761b9b4e482d6bfe8c1d9fbefa179) |
| tag date | 2026-08-28 10:04:07 +0200 |
| tagged by | Lukasz Kasprzak <lukas@labunix.xyz> |
| tagged object | commit d080744030... |
| download | colitur-1.2.0.tar.gz colitur-1.2.0.zip |
|---|
colitur 1.2.0 -- reading the output yourself
Two presentation flags. Nothing about what is computed changed, and no default
output moved: EF and OF rows are byte-identical to v1.1.0 across seven years,
five commands, both rites, all five emit formats and the shipped templates.
colitur day --pretty --today
colitur readings --rite of --month 3 2026
colitur rubrics --date 2026-12-25
--pretty draws each day as its own box rather than a row for awk(1): a heading
with the date and the liturgical colour, then the celebration, its rank and
season, and any commemorations, each on its own line. The box art is pure
ASCII -- only +, - and |, never Unicode box-drawing -- because this format
exists to be pasted into a document, a mail or a plain-text ordo, and U+2500
survives that only when every stage agrees about encoding and font. Alignment
counts UTF-8 code points rather than bytes. Colour is written only to a
terminal, NO_COLOR is honoured on presence whatever its value, and the colour
column degrades to its initial rather than vanishing when piped.
--pretty also made a report ungreppable: a box spans seven lines, so
`grep 2026-03-` returns fragments of March rather than March. --month N,
--date YYYY-MM-DD and --today restore that, and are independent of --pretty --
they narrow the default format too.
The three are alternatives, not a stack; naming two exits 2 rather than
letting one quietly win. --date and --today CARRY a year, so it may be omitted
on those two and must agree when given; the disagreement message names the
flag, because with --today the second year appears nowhere on the command line
for a reader to trace. --month names no year and still needs one.
temporal refuses --year yet takes --date/--today as a year source. Not a back
door to the refused spelling: --year is a second spelling of the positional
year, which temporal does not offer, whereas --date selects a DAY and merely
happens to determine which year contains it.
Both flags are accepted by day, readings, rubrics and temporal, and refused by
every other command rather than accepted and ignored.
--pretty had shipped in no documentation at all. --help and colitur(1) now
both carry it, with a NARROWING A REPORT section beside it.
Also: the CHANGELOG entry for 1.1.0, which was tagged without one, backfilled
from that tag's own message; and README's status corrected, having claimed the
OF module was still on an unreleased branch and quoted suite figures from a
much smaller suite.
916 tests under the exhaustive sweep, every year 1583-9999.
