stormpath-cli
stormpath-cli copied to clipboard
--output-json should override tab-delimited default during pipe or redirect
The default behavior is to emit TSA output when redirecting to a file or piping to STDOUT. This makes it impossible to send JSON to another program for processing.
Suggest that the --output-json flag should prevail regardless of where output is being sent. There is no reason I can see for the default behavior that has been implemented.
This is definitely a bug.
Our default behavior is supposed to work like the MySQL command line client: human-readable output by default, tab-delimited when piping or redirecting by default, and --json should override the default in all cases. Thanks for the issue!