Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 569 Bytes

File metadata and controls

36 lines (26 loc) · 569 Bytes

Sendsync

Sendsync is a cli written in golang for interacting with the Sendgrid API. We use it mainly to GET and POST templates and versions.

Installation

Run

go build
go install

This will create a binary executable.

Usage

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

Testing

Run

go test sendsync/cmd

Questions

Have a question? Contact us in github@buda.com