Skip to content

Option to force ANSI color codes or disable TTY detection #2282

@gdewald

Description

@gdewald

ANSI Colors are automatically disabled in some cases, I would like to request some option to disable this feature for cases where the output may be captured outside of a TTY but color codes are still desired.

Specific use case: GitLab CI supports color codes in output, however Click applications don't appear to output color codes when executed in this context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions