Skip to content

Add option to print formatted text to stdout. #45

@jack-dunham

Description

@jack-dunham

Some IDE formatting plugins expect a given CLI formatter to output the formatted text to stdout. This allows one to skip creating a temporary file when e.g. formatting on save when using these plugins. Therefore, it would be useful to have a mode for itfmt that reads from stdin, formats the text, and then prints to stdout. Runic can be used this way by executing runic without any arguments, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions