zook
A command line tool for Apache ZooKeeper
Last updated 5 years ago by tatsuyaoiw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install zook -g
SYNC missed versions from official npm registry.

zook

Zook is a command line tool for Apache ZooKeeper. The command should be as simple as like the following:

$ zook exists --path /zookeeper/quota

This will check the existence of the zookeeper node with given path: /zookeeper/quota.

Zook is built on top of alexguan/node-zookeeper-client and as that module noted it is currently tested to work with ZooKeeper version 3.4.*.

Install

Zook is a command like tool so it is strongly recommended to install globally with -d option.

$ npm install zook -g

Example

Create a node.

$ zook create --path /zook --data hello!

Remove a node.

$ zook remove --path /zook

Usage

This usage can also be printed by zook -h or zook --help.

Usage: zook <command> [options]

Commands:
  exists  Check existence of a node
  create  Create a node
  remove  Delete a node

Options:
  -h, --help  Show help                                                [boolean]

Examples:
  zook exists -s localhost:2181 -p /zookeeper/quota

Current Tags

  • 0.0.2                                ...           latest (5 years ago)

3 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 3
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |