Skip to content

A script to send tinyletter emails from your command line

License

Notifications You must be signed in to change notification settings

RichardLitt/tinyletter-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

TinyLetter Script

A script to send tinyletter emails from your command line

Install

Clone, pip install tinyapi, chmod a+x, ln -s <source> /usr/local/bin/tinyletter.

Usage

usage: tinyletter.py [-h] [--body BODY] [--title TITLE] [--id ID]
                     [-preview | -send]

optional arguments:
  -h, --help     show this help message and exit
  --body BODY    Which file to read
  --title TITLE  A title for the newsletter
  --id ID        The id of a newsletter
  -preview       preview a newsletter
  -send          Send a newsletter

Example

tinyletter --body=/Users/richard/file --title="This is my newsletter"
# Prints id
tinyletter -preview
# Shows all ids
tinyletter -preview <id>
# Sends preview email
tinyletter -send <id>

Maintainer

@RichardLitt.

Contribute

Please do!

License

MIT © 2017 Richard Littauer

About

A script to send tinyletter emails from your command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages