Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Easily get or set key/value pairs from ~/.key-val

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

val

Easily store and retrieve key/value pairs in an encrypted ~/.key-val Useful for things like pesky API keys.

USAGE

Setting a token:

$ val foo bar

Getting a token..

$ val foo

...will return "bar"

Unsetting a token...

$ val foo --unset

...will delete the "bar"

Listing all tokens:

$ val

That's it and that's all folks.

Tab Completions

Install Dr. Nic's tabtab gem, then add this line to the bottom of your ~/.tabtab.bash:

complete -o default -C 'tabtab --gem key-val/lib/completions.rb' val

Then you can tab complete the keys.

Something went wrong with that request. Please try again.