Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/linux-china/zookeeper-shell
- Owner: linux-china
- Created: 2013-12-23T00:16:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-06-13T08:12:35.000Z (over 1 year ago)
- Last Synced: 2023-06-13T09:24:59.729Z (over 1 year ago)
- Topics: shell, zookeeper
- Language: Java
- Size: 81.1 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/