Console binary key-value storage with output highlighting, searchability with regular expressions and aliasing of bash commands.
kvrs set "key" "value" --file="storage.kv"
kvrs get "key" --file="storage.kv"
kvrs update "key" "new value" --file="storage.kv"
kvrs remove "key" --file="storage.kv"
kvrs find "regexp" --file="storage.kv"
This command tries to treat the keys as text and match them to the sample, returning all matches.
kvrs sort --file="storage.kv"
Returns a list of keys in lexicographic order.
kvrs set "list" "ls -la"
kvrs cmd "list" --file="storage.kv"
--file
- the database file that the command will work with. By default, this parameter will be equal to the path to the file "storage.kv" in the home directory.
- get, set, update, remove
- cmd
- sort
- find