Closed longshorej closed 7 years ago
When using conduct backup, it should do a TTY check similar to this to ensure that we don't print "garbage" to the TTY:
conduct backup
https://github.com/typesafehub/conductr-cli/blob/master/conductr_cli/bndl_main.py#L34-L36
So I'd expect behavior like this:
Failure:
$ conduct backup conduct: Refusing to write to terminal. Provide -o or redirect elsewhere -> 2
Success:
$ conduct backup > my-file -> 0
When using
conduct backup
, it should do a TTY check similar to this to ensure that we don't print "garbage" to the TTY:https://github.com/typesafehub/conductr-cli/blob/master/conductr_cli/bndl_main.py#L34-L36
So I'd expect behavior like this:
Failure:
Success: