Skip to content
/ shack Public

A CLI for storing simple stuff thats hard to remember

Notifications You must be signed in to change notification settings

saresend/shack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shack

Build Status Crates.io

Shack, a dead simple CLI key value store, for saving simple stuff thats hard to remember.

Installation

The best way to install to install this is to use the Rust's package manager, cargo!

cargo install shack

Usage

asciicast

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

Examples

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

About

A CLI for storing simple stuff thats hard to remember

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages