Skip to content

let-us-go/zkcli

Repository files navigation

zkcli

Build Status Go Report Card

A interactive Zookeeper client.

zkcli

Install

Mac (Homebrew)

brew tap let-us-go/zkcli
brew install zkcli

go install

go install github.com/let-us-go/zkcli

Build

make release-all

Or download a pre-built binary for Linux or macOS/OSX.

Usage

$ 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

Develop

$ GO111MODULE=on go get xxx

$ GO111MODULE=on go mod tidy
$ GO111MODULE=on go mod verify

$ make build
$ make release-all