Skip to content

lil5/go-mail-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

GO CLI

A CLI tool to generate html emails. Using go-premailer and the go template engine.

Usage

  1. Download the latest binary from the releases. If you don't find your required architecture or OS please follow the build instructions.

  2. Create a directory structure like so:

    • build
    • templates
    • pages
  3. Run the binary, this builds html files in a build directory from each *.gohtml file inside the pages directory, make sure to run the binary from the root of the directory structure.

$ ./gomail-<os>-<arch>

Build

  1. Git clone this repository.
  2. cd into v2 subdirectory.
  3. Run go build -o bin/gomail