sql_formatter
sql_formatter copied to clipboard
Support reading from standard input
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.