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