Add README

This commit is contained in:
Felix Blanke 2023-08-17 02:38:09 +02:00
parent b8d54b8df1
commit 35310d1578
2 changed files with 21 additions and 1 deletions

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# TVStud Serial Mail
Reads data from a mapping file and prepares Thunderbird drafts for serial mailing.
### How to use:
First, download the mapping file from `http://mapping.rfwu.de` and place it in the same folder as `serialmail.py`.
To run, simply run `python serialmail.py --sheet SHEET_NAME`.
For example:
```bash
$ python serialmail.py --sheet Psycho --full-area-name Psychologie
```
You might want to add `--dry-run` first to check what emails are prepared.
For a list of all possible arguments, run
```bash
$ python serialmail.py --help
```

View File

@ -46,7 +46,7 @@ def construct_mails(
def main():
parser = argparse.ArgumentParser("TVStud Bonn Mail")
parser = argparse.ArgumentParser("TVStud Bonn Serial Mail")
parser.add_argument(
"--data-file",
type=Path,