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.
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 foritfmtthat reads fromstdin, formats the text, and then prints tostdout. Runic can be used this way by executingrunicwithout any arguments, for example.