forked from fblanke/tvstud-serial-mail
Add README
This commit is contained in:
parent
b8d54b8df1
commit
35310d1578
20
README.md
Normal file
20
README.md
Normal 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
|
||||||
|
```
|
||||||
@ -46,7 +46,7 @@ def construct_mails(
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser("TVStud Bonn Mail")
|
parser = argparse.ArgumentParser("TVStud Bonn Serial Mail")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--data-file",
|
"--data-file",
|
||||||
type=Path,
|
type=Path,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user