https://github.com/cybershadow/squelch
https://github.com/cybershadow/squelch
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cybershadow/squelch
- Owner: CyberShadow
- Created: 2021-10-22T10:03:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-16T12:51:01.000Z (about 1 year ago)
- Last Synced: 2025-03-13T23:50:00.241Z (12 months ago)
- Language: D
- Size: 142 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
squelch - SQL formatter for BigQuery + Dbt
==========================================
Squelch is an SQL formatter.
Currently, it supports only BigQuery Standard SQL + Dbt/Jinja2 macros.
Try it online: https://squelch-sql-formatter.herokuapp.com/
Usage
-----
Format a file:
$ squelch file.sql
Format from standard input:
$ squelch -- - < input.sql > output.sql
`squelch-run` is a script which will build Squelch automatically;
just replace `squelch` with `squelch-run` in the above invocations to use it.
Configuration
-------------
There is no configuration.
License
-------
[Boost Software License, version 1.0](https://www.boost.org/LICENSE_1_0.txt).