{"repo":"nrempel/sleek","free":true,"listed":false,"github":"https://github.com/nrempel/sleek","clone":"git clone https://github.com/nrempel/sleek.git","description":"Sleek is a CLI tool for formatting SQL. It helps you maintain a consistent style across your SQL code, enhancing readability and productivity.","language":"TypeScript","stars":280,"topics":["cli","command-line","command-line-tool","formatter","sql"],"license":"MIT","category":"cli-tools","readme_excerpt":"Sleek ✨ ✨ Looking for a VS Code extension? Sleek is also available as a VS Code extension for SQL formatting! 🚀 Sleek is a CLI tool for formatting SQL. It helps you maintain a consistent style across your SQL code, enhancing readability and productivity. The heavy lifting is done by the sqlformat crate. VS Code Extension - Install from VS Code Marketplace - See its README for usage and features. - See releases documentation for build, test, and release automation details. Before and After Here's an example of a SQL query before and after being formatted by Sleek: Before After Features - Format SQL files using customizable indentation and character case options - Supports glob patterns, allowing you to format multiple files and patterns - Check whether your SQL files are already formatted without altering them with the --check flag - Uppercase keywords by default (disable with --uppercase false ) - Automatically adds trailing newlines to formatted output (disable with --trailing-newline false ) Installation Download Compiled Binaries You can download the compiled binaries for Sleek from the GitHub Releases page. Choose the binary that corresponds to your operating system and architecture, and place it in a directory included in your system's PATH environment variable. Install with Cargo To install Sleek using Cargo, you'll need to have Rust installed on your system. Once Rust is installed, you can install Sleek with Cargo: Usage Arguments - [FILE]... : File path(s) to format,","default_branch":null,"files":null,"tree":[],"storefront":"/r/nrempel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nrempel/sleek/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}