Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Deprecate concolor #47

Description

@epage

concolor was intended as a way to be aware of the exact color situation for either stdout or stderr anywhere in an application, whether from environment detection or the command-line.

Through the time I've been using concolor, I've been feeling like this direction is a mistake. We instead need to be encouraging decoupling of rendering code from color control. To this end, I've created anstream which has been used in clap now for about three months.

For applications where anstream doesn't work, I feel like users would be better off composing what they need out of colorchoice, colorchoice-clap, and your choice of environment detection crates including anstyle-query and supports-color.

As I feel like both of these are a better route and that should cover all users, I don't see how concolor fits into the CLI story anymore and propose we deprecate it.

If nothing comes up before then, we'll likely archive the repo in about a month

Activity

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

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