-
Notifications
You must be signed in to change notification settings - Fork 26
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
Create Go script that can replace preceding tabs with spaces in SQL string literals #148
Comments
@bplunkett-stripe Feel free to update the issue as needed. |
Looks right to me! Don't worry about making the "dry-run" mode too complicated, i.e., printing out line numbers. Just printing out the file name is fine. |
You still planning on picking this up @ammiranda? Checking because I might take at a pass at it soon. |
@bplunkett-stripe I was planning on it, but I think I need a bit more direction on how to implement it. Like how to make it invocable from the command line via the Makefile and how to read the |
Yes, you can use the same cobra/flags pkg, similar to the pg-schema-diff command. I would define the script under a file like |
Related to #67, this issue is a follow-up to the PR resolving #67 which will add a Go based script that can be run as needed to correct the whitespace for the string literals.
The desired feature set should include:
The text was updated successfully, but these errors were encountered: