Persistent key-value store for the command line
Project description
kvsh, a command-line key-value store for the shell
- Cross-shell persistence
- Easy UI, with tab completion
kv
for quick operations
$ kv hello world
$ kv hello
world
kvv
for advanced functionality
$ kv hello world
$ kv foo food
$ kv bar bartender
$ kvv env # Print key=value iff key is a valid environment variable name
hello=world
foo=food
bar=bartender
$ kvv remove hello
$ kvv env
hello=world
$ kvv clear
Installation
Recommended installation with pipx
:
pipx install kvsh
Tab completion with argcomplete
:
pipx install argcomplete
eval "$(register-python-argcomplete kv)"
eval "$(register-python-argcomplete kvv)"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kvsh-0.1.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
kvsh-0.1.1-py3-none-any.whl
(3.3 kB
view hashes)