user-email-clideprecated

Cli tool for user-email package. Get the email address(es) of the current user.

Usage no npm install needed!

<script type="module">
  import userEmailCli from 'https://cdn.skypack.dev/user-email-cli';
</script>

README

!! DEPRACTED !!

node-user-email-cli

Get the email address(es) of the current user.

Installation

$ npm install user-email-cli -g

Usage

Usage
  $ user-email [OPTION(S)]

Options
  -a, --all       Print all email addresses found
  -l, --list      Print in a list format
  -t, --timeout   Set a maximum exection time per function
  --version       Get the current version
  --help          Print the help

Examples
  $ user-email
  $ user-email -la
  $ user-email --list --all --timeout=1000

Options

--all

default: false

If --all is false the first valid email address that is found in the chain will be printed. If --all is true all found email addresses are printed.

--timeout (ms)

default: 10000

Maximum time spent in a single Promise.

--list

default: false

If set to true the found email addresses are listed underneath each other.

License

MIT