Feature Request - fmt to read from stdin and write to stdout without touching file on disk
Many of the various editors formatting plugins expect data to flow via stdin/stdout rather than touching the file directly. It would be great if just --fmt could do that too.
just --dump will output the formatted version of the current justfile to stdout. This could probably be documented better though.
Thanks for that - the problem with --dump' is that it includes !include'’d files as outlined in #1585 making it useless for this purpose.
+1 for this! I wanted to set up the custom local formatters vscode plugin but was unable to do so because there is no way to read from stdin.
Would this be covered by https://github.com/casey/just/pull/1933 ?
@laniakea64 yes, looks like it 👍