aboutsummaryrefslogtreecommitdiff
path: root/internal/calendar/temporal.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 08:24:34 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 08:24:34 +0200
commit4ef5570c348e2d8d83c67e049b06e7b5d1a7542d (patch)
tree1da35c3bd67f4235f8ed58af6f3f6e27eaa5a270 /internal/calendar/temporal.go
parent802cedfa3b92a07247bf513b90e0fdff71201294 (diff)
downloadlectio-4ef5570c348e2d8d83c67e049b06e7b5d1a7542d.tar.gz
lectio-4ef5570c348e2d8d83c67e049b06e7b5d1a7542d.zip
feat(cli): --cal-dump NAME to generate a commented calendar template
Replace the static examples/sanctorale-of.ini with a `--cal-dump NAME` flag that writes the running universal calendar to ~/.config/lectio/calendars/NAME.ini as a fully-commented layer template (every celebration present, all commented). Uncomment one day and edit a field to override it; enable with `use = NAME`. - Form-aware: respects -l/--lectionary, so `-l trad --cal-dump x` dumps the 1962 calendar (322 entries) and the default dumps the OF calendar (212 entries). - Entries sorted by date then slug; refuses to overwrite an existing file. - Always in sync with the embedded (or sanctorale-overridden) calendar, so no stale checked-in template to maintain. - Update help text, man page (OPTIONS/FILES/EXAMPLES) and README to match; drop examples/sanctorale-of.ini.
Diffstat (limited to 'internal/calendar/temporal.go')
0 files changed, 0 insertions, 0 deletions