Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goto-bus-stop/sqc
sqlite cli with syntax highlighting and pretty tables
https://github.com/goto-bus-stop/sqc
cli sqlite
Last synced: 27 days ago
JSON representation
sqlite cli with syntax highlighting and pretty tables
- Host: GitHub
- URL: https://github.com/goto-bus-stop/sqc
- Owner: goto-bus-stop
- License: apache-2.0
- Created: 2021-11-14T23:00:53.000Z (almost 3 years ago)
- Default Branch: default
- Last Pushed: 2024-06-02T13:57:29.000Z (5 months ago)
- Last Synced: 2024-10-05T16:26:28.601Z (about 1 month ago)
- Topics: cli, sqlite
- Language: Rust
- Homepage:
- Size: 141 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# sqc
A SQLite CLI with syntax highlighting and pretty tables by default.This is not a full replacement for the official SQLite CLI.
I use it for just querying and updating databases, and use the official one if I need to do something more advanced.## Syntax
The interactive CLI works similarly to the official SQLite CLI, but not exactly the same. Input is interpreted as
SQL statements except dot commands. Use `.help` for a list of available commands and documentation.## Extensions
`sqc` includes the CSV vtable extension.It also has additional functions for inspecting data:
- `fmt_byte_size(col)` - given an integer number of bytes, format it as a human-readable string (eg. `12 kB`)## License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.