insertfmt
fast & easy CLI specialized to format MySQL INSERT queries.
format queries so that they look like a table.
NOTE: If you wanna use the VSCode extension, please get it from the below link. Thanks! https://marketplace.visualstudio.com/items?itemName=canalun.insertfmt
Installation
You can download the binary from releases.
The binary is self-sufficient with no dependencies, and can be put anywhere on your PATH and run with insertfmt
command!!
Or, you can also install the module directly with cargo
.
cargo install insertfmt
Basic Usage
To run the tool, run the command with a path argument:
insertfmt x.sql y.sql <...>
You can specify as many paths as you want.
Release Note
v1.0.3
- fix bug of backslash disappearance!
v1.0.1-1.0.2
- fix error msg
v1.0.0
- HBD
🎂 - vSQLfmt gets able to format 'INSERT' queries!
Monorepo
This repository is a monorepo of Rust CLI and TS+Wasm VSCode extension.
If you are interested in it technically, why not check out the below article
dev.to: Monorepo of Rust CLI & TS+Wasm VSCode
Contribution
You wanna contribute!? Thanks!!!! Would be great if you check the below doc out