Closed gmeghnag closed 2 years ago
This is working as intended. Butane reads from standard input by default, following the convention of Unix command-line programs that process an input stream.
Agree it's a Unix convention, but there is some precedent for doing different things if stdin/stdout is a tty. I'm a bit skeptical that anyone is going to hand-type in YAML on a tty, so we could consider erroring out in that case and printing help.
When executed without any argument
butane
should return how to use it, as example:Instead, when executed without argument it hangs indefinitely.