Skip to content
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

Support reading from standard input #175

Open
spookylukey opened this issue Sep 9, 2022 · 0 comments
Open

Support reading from standard input #175

spookylukey opened this issue Sep 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@spookylukey
Copy link

I'd like to be able to pass input from a pipe and format it:

some_command | sql-formatter -

Here - is the conventional way of indicating that input is not a file but stdin. (See man cat for an example of this). In this case, sql-formatter should output to stdout by default.

@spookylukey spookylukey added the enhancement New feature or request label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant