On 10/15/2017 09:48 PM, [email protected] wrote: > Please let me know if I misread the docs and there is a way to do this. If > not, then adding a --stdin flag to Mix formatter task would address both > issues.
I like the STDIN to STDOUT thing in general, since this allows piping, chaining and composing of various tools, and I'm not sure, why we would discourage a pattern which is common inside of the language, in the tools of the langauge. Instead of a special flag though, I'd prefer `-` as a filename, which is pretty common in linux. When used as a “filename” to read from, its meaning is “read from STDIN”, if though its used as a “filename” for the output its meaning is ”write to STDOUT”. Bye Norbert -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/4f425e3f-8675-1c3c-9999-583074ee3004%40gmail.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
