Skip to content

No way to force color output in salt command #4121

Closed
@ManuelAmadorAditazz

Description

@ManuelAmadorAditazz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions