sleek icon indicating copy to clipboard operation
sleek copied to clipboard

Sleek is a CLI tool for formatting SQL. It helps you maintain a consistent style across your SQL code, enhancing readability and productivity.

Results 17 sleek issues
Sort by recently updated
recently updated
newest added

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.58 to 1.0.60. Release notes Sourced from thiserror's releases. 1.0.60 Resolve unexpected_cfgs warning (#298) 1.0.59 Unblock testing of rustc debug-fmt-detail option (#297) Commits 870d11b Release 1.0.60 0ccee7c...

dependencies

This is a nice streamlined tool and is of use to me regardless. Just putting it out there - one of the secondary features that I personally would welcome (and...

Hello, Sleek change the name of some table name to uppercase version : `CREATE TABLE variables` to `CREATE TABLE VARIABLES` `CREATE TABLE events` to `CREATE TABLE EVENTS` and replace where...

I think it would be nice to have feature for formatting DDL statements in table style like on pictures. ![image](https://github.com/nrempel/sleek/assets/17229619/14e331d1-9f17-46b9-9d8c-b5b58488af2a) ![image](https://github.com/nrempel/sleek/assets/17229619/1f52a474-952b-4131-b30c-17042831377e)

https://github.com/nrempel/sleek/blob/main/.github/workflows/release.yml This workflow should build a release binary for every platform and make it available as a Github release when a version tag is pushed. It's not working right now.

help wanted

When running the formatter, `{{` becomes `{ {`. It would be nice to have an option to not force that behavior. This makes the tool unusable for `dbt` projects where...

Input: ```sql CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE OR REPLACE FUNCTION generate_ulid() RETURNS uuid AS $$ SELECT (lpad(to_hex(floor(extract(epoch FROM clock_timestamp()) * 1000)::bigint), 12, '0') || encode(gen_random_bytes(10), 'hex'))::uuid; $$ LANGUAGE...

https://github.com/nrempel/sleek/blob/1d334c9f26010e629ef0cdbadb60f6737c6c181e/src/main.rs#L107 I believe that `tailing` should be `trailing`.

I've been using this and it's a great SQL formatter, working better for my particular use case than several others I have tried. However, I noticed today that numbers in...

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.58 to 1.0.62. Release notes Sourced from thiserror's releases. 1.0.62 Support referring to nested tuple struct fields inside #[error("…", …)] attribute (#309) 1.0.61 Use core::fmt and core::panic...

dependencies