Klient
Features
Klient can be used as a terminal client with colorful output for several databases .
- Colorful output
- Simple command - Resue [FORMULA...] which can be stored in $USER_HOMEDIR/.klient.toml
- More databases
- kafka
- mysql | pgsql
- postgresql
- clickhouse
- redis
Installation
linux
$ sudo wget -O /usr/bin/klient https://github.com/lubit/klient/releases/download/0.0.1/klient.linux.amd64
macos
$ sudo wget -O /usr/bin/klient https://github.com/lubit/klient/releases/download/0.0.1/klient.mac
Usage
$ klient [driver] [commands] [FORMULA...]
Exmaple
$ klient kafka produce -B 'localhost:9092' -T test

$ klient kafka consume -B 'localhost:9092' -T test -G test-consumer-group -u root -p 12345

TIPS
Omit [FORMULA...] parameters which were stored in $USER_HOMEDIR/.klient.toml
$ klient kafka consume

$ klient kafka status -B 'localhost:9092' -T test -G test-consumer-group

$ klient mysql -H localhost -P 3306 -u root -p 12345 -e 'select * from user'

Reference Driver
Authors