Skip to content

Support reading from standard input #175

Description

@spookylukey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions