Crates.io | dbcat |
lib.rs | dbcat |
version | 0.1.5 |
source | src |
created_at | 2022-02-08 10:48:57.356599 |
updated_at | 2022-02-11 19:47:11.368468 |
description | A *cat(1)* equivalent for viewing sqlite database. |
homepage | https://github.com/nishantjoshi00/dbcat |
repository | https://github.com/nishantjoshi00/dbcat |
max_upload_size | |
id | 529030 |
size | 964,056 |
A cat(1) equivalent for viewing sqlite database.
cargo: Install cargo from Here!
$ cargo install dbcat
pkgin install dbcat
or, if you prefer to build it from source
cd /usr/pkgsrc/textproc/dbcat
make install
Read the database simply by running
$ dbcat <filename>.db
Change the format of the output by choice or automatically if the output is a tty or not.
Access individual tables by running
$ dbcat [-t <table>] <filename>.db
Pass a filter query to filter the tables by running
$ dbcat [-t <table>] -f <query> <filename>.db
Use dbcat --help
to see the help.
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.