https://github.com/feel2code/db_cli_tools
Custom DB CLI shell tools. Integrates several CLIs into one interactive script.
https://github.com/feel2code/db_cli_tools
cli clickhouse db mongodb mysql postgres sql
Last synced: 21 days ago
JSON representation
Custom DB CLI shell tools. Integrates several CLIs into one interactive script.
- Host: GitHub
- URL: https://github.com/feel2code/db_cli_tools
- Owner: feel2code
- License: mit
- Created: 2024-12-16T18:52:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-05T19:20:21.000Z (6 months ago)
- Last Synced: 2026-01-03T18:50:40.785Z (4 months ago)
- Topics: cli, clickhouse, db, mongodb, mysql, postgres, sql
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# db_cli_tools
version: 1.0.0
## Description
This is an interactive command line tool for working with databases.
It is a wrapper around the `clickhouse-cli`, `pgcli`, `mycli`, `mongosh`, `litecli` interactive CLIs.
It provides a simple interface for running queries and viewing results.
## Changelog:
- v1.0.0 clickhouse client replaced with clickhouse-cli, because of lack of HTTP protocol. native client supports only native protocol, unfortunately.
## Installation
```bash
git clone https://github.com/feel2code/db_cli_tools.git && cd db_cli_tools && chmod +x install.sh && ./install.sh
```
Then you will need to prepare URIs for database connections in .env file. There is an example `env-template` file exists in this repo.
## Usage
```bash
./db.sh starts the interactive CLI tool
```
```bash
./db.sh --help shows the help message
```
```bash
./db.sh --version shows the version of the tool
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.