New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to force color output in salt command #4121

Closed
ManuelAmadorAditazz opened this Issue Mar 16, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@ManuelAmadorAditazz

ManuelAmadorAditazz commented Mar 16, 2013

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!

@thatch45

This comment has been minimized.

Show comment
Hide comment
@thatch45

thatch45 Mar 20, 2013

Member

I am going to approve this for the future, any suggestions on where the flag might be placed? config file? command line options?

Member

thatch45 commented Mar 20, 2013

I am going to approve this for the future, any suggestions on where the flag might be placed? config file? command line options?

@ManuelAmadorAditazz

This comment has been minimized.

Show comment
Hide comment
@ManuelAmadorAditazz

ManuelAmadorAditazz Mar 20, 2013

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 notifications@github.comwrote:

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
.

ManuelAmadorAditazz commented Mar 20, 2013

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 notifications@github.comwrote:

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
.

@thatch45

This comment has been minimized.

Show comment
Hide comment
@thatch45

thatch45 Jun 24, 2013

Member

Thanks @icholy

Member

thatch45 commented Jun 24, 2013

Thanks @icholy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment