支持自动补全语法高亮的SQLite命令行客户端
Posted 明柳梦少
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了支持自动补全语法高亮的SQLite命令行客户端相关的知识,希望对你有一定的参考价值。
litecli
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
The package is also available on Arch Linux through AUR in two versions: litecli is based the latest release (git tag) and litecli-gitis 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.
Docs
Visit: litecli.com/features
https://litecli.com/features
以上是关于支持自动补全语法高亮的SQLite命令行客户端的主要内容,如果未能解决你的问题,请参考以下文章