pluck-emails
v1.0.0
Published
Pluck email addresses from a commonly formatted list
Readme
pluck-emails v1.0.0
A very simple utility for plucking email addresses from a list of contact information with typical email address format:
Jim Green <[email protected]>, John Brown <[email protected]>, Liam Yellow <[email protected]>With this utility is used on a file containing the above, the result will be (by default):
[email protected],[email protected],[email protected]Options
-s | --separator (option)
Specify this option to use a different separator than a comma. Whitespace is always trimmed around separators.
$ pluck-emails -s "|" --string "foo <[email protected]> | bar <[email protected]>"
[email protected]|[email protected]-e | --string (boolean)
If set, pluck-emails will read the arguments as strings
rather files.
-n | --encoding (option)
Set the encoding for files to be read. Defaults to utf8.
If specified with --string, it is ignored and a warning
will be printed.
-h | --help
Display help
-V | --version
Output version number
