No way to force color output in salt command
While salt color output works awesome when I have a PTY, it does not work when I run it without a PTY, because of this:
https://github.com/saltstack/salt/blob/develop/salt/utils/init.py#L138
There should be a force option right there, preferably settable via command-line, that allows me to wire my git push post-receive hook into showing me nice colors.
Thanks!
I am going to approve this for the future, any suggestions on where the flag might be placed? config file? command line options?
Command line if at all posible, and also a "force" string accepted in the config file just in case.
On Wed, Mar 20, 2013 at 3:15 PM, Thomas S Hatch [email protected]:
I am going to approve this for the future, any suggestions on where the flag might be placed? config file? command line options?
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/4121#issuecomment-15207245 .
Thanks @icholy