Skip to content

ryankurte/mg-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mg-cli: a command line utility for mailgun

Status

Usable. Email sending is a bit grim at the moment with the requirement for HTML and TXT versions, this should be improved.

Building

  1. go get . to fetch dependencies
  2. go build ./... to build utility

Features

  • Create lists
  • Delete lists
  • Fetch lists
  • Synchronize lists
  • Add members to lists
  • Remove members from lists
  • Fetch members of lists
  • Synchronise members of lists
  • Send emails to a list

Usage

./mg-cli --help                                                                                    [12:15]
Usage:
  mg-cli [OPTIONS] <command>

Application Options:
  -d, --domain=  Mailgun domain for sending [$MG_DOMAIN]
  -k, --api-key= Mailgun API key [$MG_APIKEY]
  -v, --verbose  Enable verbose logging

Help Options:
  -h, --help     Show this help message

Available commands:
  add-member   Add a member to a list
  create-list  Create a new mailing list
  get-lists    Fetch existing mailing lists
  send         Send an email to a list or address
  sync-lists   Synchronize existing and desired lists
  version      Show version and exit

About

A smol command line utility for managing mailgun lists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages