A SQLite viewer in the command line interface (CLI) made with Rust.
-
tables: Returns all table names in the database.
- Usage:
rusql dbpath -tables
- Usage:
-
records: Returns all records from a table.
- Usage:
rusql dbpath -records tablename -args
- -a:
returns all records
- -r num:
returns a random number of records between 1 and num
- -n num:
returns the first num records
- -a:
- Usage:
-
records--no: Returns the number of records in a specific table.
- Usage:
rusql dbpath -records--no tablename
- Usage:
-
info: Returns information about a specific table.
- Usage:
rusql dbpath -info -s tablename
- Usage:
- sql: Allows running SQL queries.
More commands will be added in future updates.