Skip to content

NishantJoshi00/dbcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crate

DBcat

Crates.io License

A cat(1) equivalent for viewing sqlite database.

Installation

  • 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

Usage

Read the database simply by running

$ dbcat <filename>.db

Basic Usage


Change the format of the output by choice or automatically if the output is a tty or not.

Atty Usage


Access individual tables by running

$ dbcat [-t <table>] <filename>.db

Tables Access

Pass a filter query to filter the tables by running

$ dbcat [-t <table>] -f <query> <filename>.db

Filter Command

Help

Use dbcat --help to see the help.

Contribution

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages