insertfmt

Crates.ioinsertfmt
lib.rsinsertfmt
version1.0.4
sourcesrc
created_at2023-04-19 05:04:05.316614
updated_at2024-04-13 18:03:38.261625
descriptionfast & easy formatter MySQL INSERT queries
homepage
repository
max_upload_size
id843191
size527,346
canalun (canalun)

documentation

README

Test status Docs Dependency status

Rust version Crates.io

insertfmt

fast & easy CLI specialized to format MySQL INSERT queries.

format queries so that they look like a table.

preview

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.4

  • update libraries

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😊

CONTRIBUTING.md

Commit count: 0

cargo fmt