kviator is a small tool to manage data across distributed key value stores (consul, etcd)
$ go get github.com/AcalephStorage/kviator
$ cd $GOPATH/src/github.com/AcalephStorage/kviator
$ go build
$ ./kviator --help
for consul:
$ ./kviator --kvstore=consul --client=localhost:8500 put hello world
$ ./kviator --kvstore=consul --client=localhost:8500 get hello
#=> world
$ ./kviator --kvstore=etcd --client=127.0.0.1:4001 \
--ca-cert=/path/to/ssl/ca-cert.pem \
--client-cert=/path/to/ssl/client-cert.pem \
--client-key=/path/to/ssl/client-key.pem \
put hello world
$ ./kviator --kvstore=etcd --client=127.0.0.1:4001 \
--ca-cert=/path/to/ssl/ca-cert.pem \
--client-cert=/path/to/ssl/client-cert.pem \
--client-key=/path/to/ssl/client-key.pem \
get hello
$ world
- Better README
- Needs docs