Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (20 sloc) 0.595 kb
8be2d6b @nakajima good enough
authored
1 # val
2
1fff529 @nakajima Renamed
authored
3 Easily store and retrieve key/value pairs in an encrypted `~/.key-val`
e31ec5f @nakajima README note about encryption
authored
4 Useful for things like pesky API keys.
8be2d6b @nakajima good enough
authored
5
6 ## USAGE
7
8 ### Setting a token:
9
10 $ val foo bar
11
12 ### Getting a token..
13
14 $ val foo
15
16 ...will return "bar"
17
18 ### Unsetting a token...
19
20 $ val foo --unset
21
22 ...will delete the "bar"
23
24 ### Listing all tokens:
25
26 $ val
27
28 That's it and that's all folks.
3fc1a98 @nakajima Added note about tab completions to README
authored
29
30 ## Tab Completions
31
32 Install Dr. Nic's `tabtab` gem, then add this line to the bottom
33 of your `~/.tabtab.bash`:
34
1fff529 @nakajima Renamed
authored
35 complete -o default -C 'tabtab --gem key-val/lib/completions.rb' val
3fc1a98 @nakajima Added note about tab completions to README
authored
36
37 Then you can tab complete the keys.
Something went wrong with that request. Please try again.