$ uv run rule.py --help
usage: rule [--rule NAME] [--date YYYY-MM-DD]
[--no-log] FILE
rule [--date YYYY-MM-DD]
rule --list
rule --explain NAME [--date YYYY-MM-DD]
rule --record
rule --help
Checks FILE against one writing rule and repor
ts every break the way a
compiler reports an error. FILE "-" reads stan
dard input. With no FILE,
prints the rule for the date.
--rule NAME check against the rule NA
ME instead of the date's
--date YYYY-MM-DD use the rule for that dat
e instead of today's
--no-log do not record this run
--list print the 30 named rules
--explain NAME print the exact definitio
n of one rule
--record print the log and the tal
ly
--help print this help
Exit status: 0 the text kept the rule, 1 it br
oke the rule, 2 the tool
could not run. Errors go to standard error. A
text that keeps the rule
prints nothing.
A check of today's rule, without --rule or --d
ate, appends one line to
$RULE_LOG, else $XDG_STATE_HOME/rule-of-the-da
y/log, else
~/.local/state/rule-of-the-day/log. The checke
d file is never written.
Rules are drawn from a fixed table. A given da
te always gives the same rule. There is no way
to ignore a rule.
$
tmux pane, 46 columns, 2026-10-13. Every character and colour is from capture-pane.