diff options
| author | Teddy Wing | 2016-08-06 09:32:21 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2016-08-06 10:17:35 -0400 | 
| commit | b04b1eaf75db94cf7af9ee2dbbf1597933bce831 (patch) | |
| tree | cfcf8fb3a49fa591c2acd0be80bc1b8be33dd6ff | |
| parent | 01ae017a7dc2c66428c7db28dbf38f6efdbe09ab (diff) | |
| download | Passextract-b04b1eaf75db94cf7af9ee2dbbf1597933bce831.tar.bz2 | |
Add README
Include a description of the program, how to use it, install and
uninstall instructions, and license information.
A placeholder Demo section is also written in where a short screencast
is expected to be inserted.
| -rw-r--r-- | README.md | 69 | 
1 files changed, 69 insertions, 0 deletions
| diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ccd8f7 --- /dev/null +++ b/README.md @@ -0,0 +1,69 @@ +Passextract +=========== + +An extension to the [pass][1] password manager. Pass works very well and covers +about 95% of my needs. Its `-c` option allows passwords to be easily copied to +the clipboard. Unfortunately, email addresses and usernames cannot be so easily +copied. + +Passextract provides a UI similar to [urlview][2] that enables these additional +fields to be copied to the system clipboard. Three fields are recognised: +emails, usernames, and passwords. They are defined as follows: + +	This text is ignored +	 +	e: email@example.com +	u: username +	p: secret-password + +In order to be recognised by Passextract, those fields must be prefixed by +“e: ”, “u: ”, or “p: ” as illustrated above. + + +## Demo + + +## Usage +Passextract can be invoked on its own or with the piped output of `pass show`: + +	$ pass show github.com | passextract +	 +	# or +	 +	$ passextract github.com + +The included Bash completion file provides the same tab completion options as +`pass show`. + + +## Install +A binary built for Mac OS X is available on the [releases][3] page. Download the +binary and put it in your `PATH`, then source the `passextract.bash-completion` +file. + +To compile from source or install on other platforms, you'll need the [Rust][4] +compiler. + +1. Install with `cargo`: + +		$ cargo install --git https://github.com/teddywing/passextract.git --root /usr/local + +2. Download and source the Bash completion file in your Bash profile: + +		source ~/path/to/passextract.bash-completion + + +## Uninstall + +	$ cargo uninstall --root /usr/local passextract + + +## License +Copyright © 2016 Teddy Wing. Licensed under the GNU GPLv3+ (see the included +COPYING file). + + +[1]: https://www.passwordstore.org/ +[2]: https://github.com/sigpipe/urlview +[3]: https://github.com/teddywing/passextract/releases +[4]: https://www.rust-lang.org/ | 
