hackcu-emailer
v1.1.0
Published
<br> <p align="center"> <img alt="HackCU IV" src="https://raw.githubusercontent.com/HackCU/HackCU/master/assets/images/hackcu2020logo.png" width="200"/> </p> <br>
Downloads
2
Readme
hackcu-emailer
A cli for sending emails to sponsors
CLI Usage
Make sure you have npm or yarn installed.
Then run npm install -g hackcu-emailer
to install the package globally.
Then generate the template csv file: hackcu-emailer generate
This will create generated.csv
(ignore the last column).
Then plug in the data there.
Note: hackcu-emailer test sends a test email
To send mass use hackcu-emailer email
.
Note: the full usage would be
hackcu-emailer email --file generated.csv --apiKey SENDGRID_API_KEY --name Kyle --role "Tech Director" --email [email protected] --send -v
Note without --send
or -s
the cli will not send the emails.
Run project
Needs: node.js
and yarn
Local
git clone https://github.com/HackCU/hackcu-emailer.git && cd hackcu-emailer
yarn
yarn start -h
Deploy
- Push changes to master
- There's no
2
Deployment is done automatically by GitHub Actions. Pushes to master will trigger publishes to npm.
Note: you need to use conventional commits style. Take a look at commitizen. This is needed for semantic-release to understand what's changed.
Want to contribute?
Please read our Code of Conduct, then follow these guidelines
License
MIT © HackCU