Sendsync is a cli written in golang for interacting with the Sendgrid API. We use it mainly to GET
and POST
templates and versions.
Run
go build
go install
This will create a binary executable.
First, export your SENDGRID_API_KEY
.
To fetch all templates:
sendsync get templates
To publish a specific template:
sendsync apply -f templates/name_of_the_template/template.json
Run
go test sendsync/cmd
Have a question? Contact us in github@buda.com