Simplify instructions

master
abnercoimbre 2024-10-19 13:26:04 -07:00
parent 2211488f9a
commit 1a9f605208
1 changed files with 10 additions and 10 deletions

20
main.go
View File

@ -487,10 +487,10 @@ func main() {
Run: func(cmd *cobra.Command, args []string) {
fmt.Printf(`Instructions:
1. Create an email file
* Name it whatever you want. Markdown is expected
* Any newlines at the start or end of the file will be removed
* The first line of the file will be used as {{ subject }} in the postmark template. It must start with the # symbol
* The rest of the file will be used as {{{ content_body }}}
* Call it whatever you want. Markdown format is expected
* Newlines at the beginning and end will be trimmed
* The first line is your email subject. It MUST start with the # symbol
* The rest of the file is your email's body
2. See who's subscribed
* ./meetupinvite2000 dump
@ -499,15 +499,15 @@ func main() {
3. Do a test run
* ./meetupinvite2000 test [email file]
* You must send a test email before blasting it to everyone (update config.toml to change test recipient)
* If you modify the email file after testing, you must test again. Otherwise MeetupInvite2000 will complain
* You must send a test before blasting to everyone (please update config.toml to change test recipient)
* If you modify the email after testing, you must test again. Otherwise we will complain
4. Start blasting!
* ./meetupinvite2000 blast [email file]
* Will batch send your invite using our Email API (Postmark)
* Will produce a .track file that will list all email addresses that we attempted to send to
* In case of error, you can blast again. All emails listed in the .track file will be skipped
* Will produce a .log file with information received back from Postmark
* Batch sends your invite using our Email API (Postmark)
* Produces .track file that tracks email addresses we attempted to send to
* Produces .log file with information received back from Postmark
* In case of errors, you can always blast again. Addresses already in .track file will be skipped
`)
},
}