document removing multiple
This commit is contained in:
parent
a286c71fe1
commit
0b81ce2c10
10
README.md
10
README.md
|
@ -25,13 +25,19 @@ van de [bewaarplicht](https://wetten.overheid.nl/jci1.3:c:BWBR0033004¶graaf=
|
||||||
## usage
|
## usage
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bash leave.sh leaver@example.org
|
# for multiple emails
|
||||||
|
bash leave.sh leaver@example.org second@leaver.org
|
||||||
|
# or by name
|
||||||
|
bash leave.sh 'Voornaam Achternaam'
|
||||||
```
|
```
|
||||||
|
|
||||||
### mailchimp only
|
### mailchimp only
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bash mailchimp.sh leaver@example.org
|
# for multiple emails
|
||||||
|
bash mailchimp.sh leaver@example.org second@leaver.org
|
||||||
|
# or by name
|
||||||
|
bash mailchimp.sh 'Voornaam Achternaam'
|
||||||
```
|
```
|
||||||
|
|
||||||
### resubscribe
|
### resubscribe
|
||||||
|
|
5
leave.sh
5
leave.sh
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# usage: leave.sh leaver@example.org
|
# usage: bash leave.sh leaver@example.org second@leaver.org
|
||||||
|
# usage: bash leave.sh 'Voornaam Achternaam'
|
||||||
|
|
||||||
source credentials.sh
|
|
||||||
sh mailchimp.sh "$@"
|
sh mailchimp.sh "$@"
|
||||||
|
source credentials.sh
|
||||||
poetry run python volunteers.py "$@"
|
poetry run python volunteers.py "$@"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# usage: mailchimp.sh leaver@example.org second@leaver.org
|
# usage: bash mailchimp.sh leaver@example.org second@leaver.org
|
||||||
# usage: mailchimp.sh 'Voornaam Achternaam'
|
# usage: bash mailchimp.sh 'Voornaam Achternaam'
|
||||||
|
|
||||||
|
source credentials.sh
|
||||||
|
|
||||||
user="bij1:${MAILCHIMP_API_KEY}"
|
user="bij1:${MAILCHIMP_API_KEY}"
|
||||||
dc='us16'
|
dc='us16'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# usage: patch-email.sh old@example.org new@example.org
|
# usage: bash patch-email.sh old@example.org new@example.org
|
||||||
|
|
||||||
source credentials.sh
|
source credentials.sh
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# usage: resubscribe.sh email@example.org
|
# usage: bash resubscribe.sh email@example.org
|
||||||
|
|
||||||
source credentials.sh
|
source credentials.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue