sql_formatter icon indicating copy to clipboard operation
sql_formatter copied to clipboard

Support reading from standard input

Open spookylukey opened this issue 2 years ago • 0 comments

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 avatar Sep 09 '22 09:09 spookylukey