1
Usage
Tirsvad edited this page 2026-10-17 09:42:09 +02:00

Usage

🌐 English · Dansk · Bahasa Melayu

Print the letters instead of sending them. --today pretends it is another day:

python -m birthday_wisher --dry-run --today 2000-10-17

A dry run

Send the letters for today's birthdays (needs the sender settings):

python -m birthday_wisher
Option Meaning
--dry-run Print the e-mails instead of sending them
--today YYYY-MM-DD Pretend today is this date
--csv FILE Use another birthdays file
--letters FOLDER Use another folder of letter templates

Exit status 0 means success. Status 1 means the setup is wrong (missing file or setting) or a letter could not be sent. A birthday on 29 February is celebrated on 28 February in years that are not leap years.