hougesen / kdlfmt

A formatter for kdl documents.
MIT License
4 stars 0 forks source link

Read from stdin and write to stdout #23

Closed cfuehrmann closed 3 months ago

cfuehrmann commented 3 months ago

To use this as a formatter e.g. in the Helix editor, it would be great to have a variant of this command that reads the kdl from stdin and writes it to stdout. Have you considered that?

hougesen commented 3 months ago

Makes sense. I'll add that 😄

cfuehrmann commented 3 months ago

Thanks, your change works for me! (Now all I have left to do is head over to kdl-rs and create an issue about a gargantuan formatting error...)