55

GitHub - dbcli/litecli: CLI for SQLite Databases with auto-completion and syntax...

 5 years ago
source link: https://github.com/dbcli/litecli
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

litecli

Build Status

A command-line client for SQLite databases that has auto-completion and syntax highlighting.

Completion CompletionGif

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 is based the latest release (git tag) and 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 tap dbcli/tap
$ 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. See the file itself for a description of all available options.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK