You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI should indicate if the SQL needs formatting or not.
Why do you want this feature?
I have a CI pipeline that should check if all SQL files in my repo comply to the standard formatting. It would be great to have an option that enables the CLI tool to return an error code if the file is not correctly formatted.
Possible implementation:
add CLI flag --check
if file needs to be formatted return an exit code 1
if file is properly formatted return exit code 0
The text was updated successfully, but these errors were encountered:
I fear I do not have capacity for it. The feature is currently nice-to-have but not super high priority for my use case.
If I find time, I will notify you again. Thanks for your effort of creating this whole library.
Describe the Feature
The CLI should indicate if the SQL needs formatting or not.
Why do you want this feature?
I have a CI pipeline that should check if all SQL files in my repo comply to the standard formatting. It would be great to have an option that enables the CLI tool to return an error code if the file is not correctly formatted.
Possible implementation:
--check
1
0
The text was updated successfully, but these errors were encountered: