SDB is a simple and dynamic key/value store based on Badger. Simple because it uses the UNIX conventions (command line flags, read from stdin, write to stdout). Dynamic because it can iterate on key prefixes, where a prefix is user defined.
- io.github.thedevtop (. prefixing)
- table:column:0042 (: prefixing)
- org/project/members (/ prefixing)
usage: sdb [command] [options...]
List all keys or subset of keys specified by prefix.
-kSpecify key
Copy key/value or set of key/values specified by prefix.
-kSpecify key-nSpecify new key-rEnable recursion
Write the value of a key to stdout.
-kSpecify key-rEnable recursion
Write the value of a key to a file.
-kSpecify key-rEnable recursion-fSpecify file
Move key/value or set of key/values specified by prefix.
-kSpecify key-nSpecify new key-rEnable recursion
Read the value of a key from stdin.
-kSpecify key
Read the value of a key from a file.
-kSpecify key-fSpecify file
Read the value of a key from arguments.
-kSpecify key-vSpecify value
Remove key/value or set of key/values specified by prefix.
-kSpecify key-rEnable recursion