Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/richardlitt/tinyletter-script

A script to send tinyletter emails from your command line
https://github.com/richardlitt/tinyletter-script

api cli markdown tinyletter

Last synced: 9 days ago
JSON representation

A script to send tinyletter emails from your command line

Awesome Lists containing this project

README

        

# TinyLetter Script

> A script to send tinyletter emails from your command line

## Install

Clone, `pip install tinyapi`, `chmod a+x`, `ln -s /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
# Sends preview email
tinyletter -send
```

## Maintainer

[@RichardLitt](https://github.com/RichardLitt).

## Contribute

Please do!

## License

[MIT](LICENSE) © 2017 Richard Littauer