concolor
termcolor
Our great sponsors
concolor | termcolor | |
---|---|---|
2 | 5 | |
17 | 444 | |
- | - | |
0.0 | 5.8 | |
10 months ago | 4 months ago | |
Rust | Rust | |
Apache License 2.0 | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
concolor
-
clap 4.0.0, a Rust argument parser, is released!
concolor-clap
-
Ouch 0.3.0 released!
I'm a little leery of clap taking on the role of color control. I've found that each library with "auto" support does it slightly differently and that really the best place for that policy is in the caller so there is a consistent experience and so it can adapt to the caller's needs. The WG-CLI has talked about this in the past and concolor family of crates is the result. I'm waiting on feedback for termcolor's use case (non-ANSI) before going 1.0 at which point we will probably make this the backend for clap's auto color support.
termcolor
-
Feedback on project idea
If you're going after a rice utility, you'll probably want to at least take a look at termcolor
-
Announcing erdtree 3.0.0: A multi-threaded general purpose disk-usage and filesystem utility
I personally regret adding NO_COLOR support to termcolor. See https://github.com/BurntSushi/termcolor/pull/63 and https://github.com/BurntSushi/termcolor/issues/72.
-
What is your favorite terminal colors library?
https://github.com/BurntSushi/termcolor, 345, 66k Recommended by https://blessed.rs/crates
-
Ouch 0.3.0 released!
I'm a little leery of clap taking on the role of color control. I've found that each library with "auto" support does it slightly differently and that really the best place for that policy is in the caller so there is a consistent experience and so it can adapt to the caller's needs. The WG-CLI has talked about this in the past and concolor family of crates is the result. I'm waiting on feedback for termcolor's use case (non-ANSI) before going 1.0 at which point we will probably make this the backend for clap's auto color support.
What are some alternatives?
argfile - Load additional CLI args from file
rust-ansi-term - Rust library for ANSI terminal colours and styles (bold, underline)
clap-port-flag - Easily add address & port flags to CLIs using Clap
erdtree - A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.
clap-rs - A full featured, fast Command Line Argument Parser for Rust
committed - Nitpicking commit history since beabf39
clap-verbosity-flag - Easily add a --verbose flag to CLIs using Clap
ouch - Painless compression and decompression in the terminal
owo-colors - A zero-allocation no_std-compatible zero-cost way to add color to your Rust terminal
no_color - Website data for no-color.org
supports-color - Detects whether a terminal supports color, and gives details about that support