Zookeeper CLI with autocomplete, syntax highlighting and pretty printing
Project description
IZK: interactive zookeeper
izk
is a modern and simple zookeeper shell, with autocompletion, history search, vi bindings, syntax highlighting and pretty-printing.
Installation
To install izk
, simply run
$ pip install izk
izk
is Python 3 only. I do not plan to support Python 2, but it that's important to you, feel free to contribute!
Docker
izk
is also available as a docker image. To run it, execute
$ docker run -it brouberol/izk
Note that to ease usage woith docker, all command-line arguments can be passed as environment variables, prefixed with IZK_
.
Example: here is how to run izk --write
in docker
$ docker run -it -e IZK_WRITE=1 brouberol/izk
Usage
$ izk --help
usage: izk [-h] [--write WRITE]
[--style {default,emacs, ...}]
[--version]
[zk_url]
CLI for zookeeper with syntax-highlighting and auto-completion.
positional arguments:
zk_url URL of the zookeeper node. Default: localhost:2181.
Override via the IZK_ZK_URL environment variable.
optional arguments:
-h, --help show this help message and exit
--write WRITE Authorize write operations (update/insert/remove).
Override via the IZK_WRITE environment variable.
--style {default,emacs, ...}
The color style to adopt. Default: monokai. Override
via the IZK_STYLE environment variable.
--input-mode {vi,emacs}
The input mode to adopt. Default: vi. Override via the
IZK_INPUT_MODE environment variable.
--version Display izk version number and exit
Version: 0.4.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file izk-0.4.1.tar.gz
.
File metadata
- Download URL: izk-0.4.1.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa102e684200e856249e955846d97787e472b45dcae47d1c5b9035dd2fd72fc |
|
MD5 | fc2dd311c17d62892a850bc4788e69a5 |
|
BLAKE2b-256 | c0eaa064049bcbf394ebd65ef6acca85125bd9d88927fae4bf884b4d8ea91c7b |
File details
Details for the file izk-0.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: izk-0.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5c18bca9dfb58ce56321f664194250f1742b9b8fb35e4a7f234eee4c5cda8d |
|
MD5 | 474cab94d973ef7a221bfbb6141d9d41 |
|
BLAKE2b-256 | 20e6f6657de745462d11cb388ad7af9f3588bde454dfc9bd29ecf27716c256f6 |