-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting sql text from stdin? #904
Comments
There is no way to do that at the moment. It looks the standard approach is via a dash as following:
|
I've just pushed a version with this in it. Let me know if that works for you. |
Thank you very much for the quick turnaround! |
The change works great! Thanks again. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I couldn't figure it out from the docs, so I apologize if this is already supported. I deal with SQL code generators that produce unformatted SQL. Is there a way to pipe the generated SQL to
sqruff
and have the formatted SQL output to stdout?The text was updated successfully, but these errors were encountered: