Thanks to visit codestin.com
Credit goes to github.com

Skip to content

adam-gaia/authors

Repository files navigation

authors

Print and format authors from ["name "] lists

Motivation

This utility is meant to be used in a pipeline with toml-path, for extracting only the names of authors without the emails

$ toml-path --raw-output .package.authors Cargo.toml | authors --names
Adam Gaia

Usage

  • Without any flags, this utility is redundant
  • Print names only
$ authors --names "foo <[email protected]>, foo2 <[email protected]>"
foo, foo2
  • Print emails only
  • Piping to stdin instead of proving an input argument works too
$ echo "foo <[email protected]>, foo2 <[email protected]>" | authors --names
foo, foo2

About

Print and format authors from ["name <email>"] lists

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published