A interactive Zookeeper client.
brew tap let-us-go/zkcli
brew install zkcli
go install github.com/let-us-go/zkcli
make release-all
Or download a pre-built binary for Linux or macOS/OSX.
$ zkcli ls /test
[abc]
$ zkcli
>>>
>>> help
get <path>
ls <path>
create <path> [<data>]
set <path> [<data>]
delete <path>
connect <host:port>
addauth <scheme> <auth>
close
exit
>>>
$ # zkcli will try to read ~/.config/zkcli.conf as default configuration if the file exists
$ zkcli -h # show help
$ GO111MODULE=on go get xxx
$ GO111MODULE=on go mod tidy
$ GO111MODULE=on go mod verify
$ make build
$ make release-all