Party Invite Generator
Generate party invitations using the template in assets/invite-template.txt.
Usage
Run the script with the guest's details:
bash
python scripts/generate_invite.py --name "NAME" --date "DATE" --dress-code "DRESS_CODE"
Required arguments:
- •
--name/-n— Guest's name - •
--date/-d— Party date and time - •
--dress-code/-c— Dress code
Optional:
- •
--output-dir/-o— Where to save (default: current directory)
Example
bash
python scripts/generate_invite.py \ --name "Sarah" \ --date "Saturday, February 15th at 7pm" \ --dress-code "Smart Casual"
Creates party-invite-sarah.md with the personalized invitation.
Workflow
- •Collect from user: name, date, dress code
- •Run the script with those values
- •Show user the generated invite file