https://github.com/dbcli/litecli
CLI for SQLite Databases with auto-completion and syntax highlighting
https://github.com/dbcli/litecli
linux prompt-toolkit python sqlite syntax-highlighting
Last synced: 6 months ago
JSON representation
CLI for SQLite Databases with auto-completion and syntax highlighting
- Host: GitHub
- URL: https://github.com/dbcli/litecli
- Owner: dbcli
- License: bsd-3-clause
- Created: 2018-05-13T14:11:49.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-21T20:52:45.000Z (7 months ago)
- Last Synced: 2025-04-23T17:12:35.362Z (7 months ago)
- Topics: linux, prompt-toolkit, python, sqlite, syntax-highlighting
- Language: Python
- Homepage: https://litecli.com
- Size: 2.51 MB
- Stars: 2,978
- Watchers: 24
- Forks: 86
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - litecli - CLI for SQLite Databases with auto-completion and syntax highlighting (Python)
- awesome - dbcli/litecli - CLI for SQLite Databases with auto-completion and syntax highlighting (Python)
- awesome-starred - litecli - CLI for SQLite Databases with auto-completion and syntax highlighting (Python)
- awesome-sqlite - dbcli/litecli: CLI for SQLite Databases with auto-completion and syntax highlighting
- awesome-repositories - dbcli/litecli - CLI for SQLite Databases with auto-completion and syntax highlighting (Python)
- awesome-python-resources - GitHub - 29% open · ⏱️ 11.07.2022): (命令行工具)
README
# litecli
[](https://github.com/dbcli/litecli/actions/workflows/ci.yml "GitHub Actions")
[Docs](https://litecli.com)
A command-line client for SQLite databases that has auto-completion and syntax highlighting.


## Installation
If you already know how to install python packages, then you can install it via pip:
You might need sudo on linux.
```
$ pip install -U litecli[sqlean]
```
For MacOS users, you can also use Homebrew to install it:
```
$ brew install litecli
```
## Usage
```
$ litecli --help
Usage: litecli [OPTIONS] [DATABASE]
Examples:
- litecli sqlite_db_name
```
A config file is automatically created at `~/.config/litecli/config` at first launch. For Windows machines a config file is created at `~\AppData\Local\dbcli\litecli\config` at first launch. See the file itself for a description of all available options.
## Docs
Visit: [litecli.com/features](https://litecli.com/features)