Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/doug-wade/test-email-cli

a cli application for generating and managing test email addresses
https://github.com/doug-wade/test-email-cli

cli-application email-address testing

Last synced: 17 days ago
JSON representation

a cli application for generating and managing test email addresses

Awesome Lists containing this project

README

        

# test-email-cli

test-email-cli is a cli application for generating and managing test email
addresses.

## Installation

To install, make sure you have node installed

sudo apt-get install nodejs

Then install test-email-cli globally

npm install -g test-email-cli

Before using it the first time, make sure to initialize the configuration

test-email init

## Use

To generate a new test email address, run `test-email generate`

test-email generate
> [email protected]

You may also want to pipe the results to your clipboard directly
with [xclip](https://linux.die.net/man/1/xclip) (on Linux) or
[pbcopy](http://ss64.com/osx/pbcopy.html)

test-email generate | xclip
# [email protected] is now on the clipboard

You can search old generated test emails with `test-email find`

test-email find
> [email protected]

You can limit searches by `date` and by ticket number, if provided when
generated

test-email generate
> [email protected]
test-email generate --ticket=1
> [email protected]
test-email find --date=2016-11-17 --ticket=1
> [email protected]

To get help, or to get the list of all sub commands, simply run `help`

test-email help

`help` is also used to discover how to use sub commands

test-email help init
> Set up configuration for example. Runs interactive commands to walk you through setting up config.
> Usage:
> test-email init
> # output from test-email

To update test-email, use update

test-email update

Though if you haven't updated in a while, test-email-cli will remind you 😀

Before you run any commands, you'll need to set up some config by running `init`

test-email init

Then follow the prompts