The (aspirational) foundation of CS at WCU!

rs-cli: simple color support check #62

Closed bwc9876.dev
targeting ben/auto-oyuktkkoolzl from huy55465/auto-lrsssmkltqks
Closed opened by and assigned to bwc9876.dev
targeting ben/auto-oyuktkkoolzl from huy55465/auto-lrsssmkltqks

We'll probably want our CLI to output color depending on a flag (say, --color-output (auto,off,on)). Piping to less is a use case.

IMO, ::<>:: ugly, so I have the _fg and _bg arguments there to type-deduce the templates.

Use --output [text,json] and --color [auto,on,off]. Output is one of colored text, uncolored text, or JSON (coloring ignored). As of writing this description, untested...

Commits 0