Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/richardlitt/tinyletter-script
- Owner: RichardLitt
- License: mit
- Created: 2017-04-03T07:44:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-05T13:18:15.000Z (over 5 years ago)
- Last Synced: 2024-12-26T11:23:01.884Z (12 days ago)
- Topics: api, cli, markdown, tinyletter
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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