This repository has implementation of Practical Networking Application by PingCap
USAGE:
kvs [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-d, --db <db> path to database file [default: kvs.db]
SUBCOMMANDS:
get get key from storage
help Prints this message or the help of the given subcommand(s)
rm remove key-value pair from storage
set set key with given value
shell start KVS shell
$ kvs set a 3
$ kvs set b 5
$ kvs get a
3
$ kvs set a 55
$ kvs get a
55
$ kvs get c
Key not found
$ kvs shell
>>> get a
55
>>> set c 25
>>> get c
25
>>> exit
Bye!