Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 days 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 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T21:11:17.000Z (about 1 month ago)
- Last Synced: 2024-10-16T07:43:07.644Z (24 days ago)
- Topics: linux, prompt-toolkit, python, sqlite, syntax-highlighting
- Language: Python
- Homepage: https://litecli.com
- Size: 2.37 MB
- Stars: 2,530
- Watchers: 26
- Forks: 74
- Open Issues: 38
-
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-python-resources - GitHub - 29% open · ⏱️ 11.07.2022): (命令行工具)
- 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
README
# litecli
[![GitHub Actions](https://github.com/dbcli/litecli/actions/workflows/ci.yml/badge.svg)](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.
![Completion](screenshots/litecli.png)
![CompletionGif](screenshots/litecli.gif)## 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
```The package is also available on Arch Linux through AUR in two versions: [litecli](https://aur.archlinux.org/packages/litecli/) is based the latest release (git tag) and [litecli-git](https://aur.archlinux.org/packages/litecli-git/) is based on the master branch of the git repo. You can install them manually or with an AUR helper such as `yay`:
```
$ yay -S litecli
```or
```
$ yay -S litecli-git
```For MacOS users, you can also use Homebrew to install it:
```
$ brew install litecli
```## Usage
```
$ litecli --helpUsage: 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)