Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/linux-china/zookeeper-shell

New ZooKeeper shell just like bash
https://github.com/linux-china/zookeeper-shell

shell zookeeper

Last synced: 12 days ago
JSON representation

New ZooKeeper shell just like bash

Awesome Lists containing this project

README

        

ZooKeeper Shell
===============================
New ZooKeeper shell just like to bash to operate with ZooKeeper.

### How to use?
Please [install JBang](https://www.jbang.dev/download/) first, then execute:

`jbang shell@linux-china/zookeeper-shell`

### Features

* current path & last previous path
* ls: list directory and files
* cd: change current path. support cd -
* cat: display content
* create: touch demo.txt
* create or update: echo "" > demo.txt
* stat: stat file
* ZooKeeper commands: stat
* Completion for directory and file

### How to debug app

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar target/zookeeper-shell-1.0.0-SNAPSHOT.jar

### References

* Spring Shell Reference Documentation: https://docs.spring.io/spring-shell/docs/2.1.0-M2/site/reference/htmlsingle/