Shack, a dead simple CLI key value store, for saving simple stuff thats hard to remember.
The best way to install to install this is to use the Rust's package manager, cargo!
cargo install shack
Shack will persist simple key values, and supports the Following commands:
- get - will attempt to retrieve the value for a given key
- set - will attempt to set the key value pair provided
- ls - lists all the currently saved key value pairs
- del - deletes the key value pair with the specified key
Suppose that you manage a couple servers, and each has their own IP address. When SSHing into them, instead of having to look up the IP address each time, you can use shack to save them like so:
shack set server1_ip 133.234.5.4
shack set server2_ip 132.133.54.1
Then, when you want to retrieve them, you can simply list them:
shack ls
or, you can get them by name
shack get server1_ip