Skip to content

mrprompt/mandrill-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mandrill-migration

Build Status Code Climate Test Coverage Issue Count

Migration tool for Mandrill Templates.

Generate a migration file with templates on draft status and publish then.

Available Commands

list <dir>      list available migrations
generate <dir>  generate a new migration file from availables drafts on Mandrill
publish <name>  publish a single template
migrate <dir>   publish all templates on draft bucket
drafts          list available drafts on Mandrill
templates       list available templates on Mandrill

Install

npm install -g mandrill-migration

Use

export MANDRILL_API_KEY="<your-mandrill-api-key>"

mandrill-migration <command> <arg>

Contributing

Some ways to contribute

  • Star this repo
  • Make a fork
  • Create an Issue
  • Send a Pull Request
  • Use

Tests

npm test

License

MIT