$ 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 reports every break the way a
compiler reports an error. FILE "-" reads standard input. With no FILE,
prints the rule for the date.
--rule NAME check against the rule NAME instead of the date's
--date YYYY-MM-DD use the rule for that date instead of today's
--no-log do not record this run
--list print the 30 named rules
--explain NAME print the exact definition of one rule
--record print the log and the tally
--help print this help
Exit status: 0 the text kept the rule, 1 it broke 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 --date, appends one line to
$RULE_LOG, else $XDG_STATE_HOME/rule-of-the-day/log, else
~/.local/state/rule-of-the-day/log. The checked file is never written.
Rules are drawn from a fixed table. A given date always gives the same rule. There is no way to igno
re a rule.
$
tmux pane, 100 columns, 2026-10-13. Every character and colour is from capture-pane.