Find exactly the right assets with Xac xac currently under construction
kv
is a simple command line key-value utility.
Ever find yourself wishing bash had python-style dicts? kv
fills that niche.
Download the appropriate release for your os/arch. Extract, rename to kv
and place in your path. That's it!
Run kv --help
to view usage instructions.
Setting a key creates a file on the filesystem where the key is the filename and the value is the file contents. It's that simple! The kv store is located in your AppDir. This is os-dependent. See AppDirs link for details.
Since the store is just files, you can share state by using bind mounts. I recommend using read only.
This is for very simple use cases! For more critical purposes, look at redis
, consul
, etcd
and the like.
Namespaces -n
allow you to use the same key in different contexts.