Skip to main content

CLI for SQLite Databases with auto-completion and syntax highlighting.

Project description

# litecli

[![Build Status](https://travis-ci.org/dbcli/litecli.svg?branch=master)](https://travis-ci.org/dbcli/litecli)

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 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
litecli-1.0.0-py2.py3-none-any.whl (46.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
litecli-1.0.0.tar.gz (52.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page