The (aspirational) foundation of CS at WCU!

rs-cli: simple color support check #62

Closed huy55465.tngl.sh
targeting ben/auto-oyuktkkoolzl from huy55465/auto-lrsssmkltqks
Closed opened by and assigned to huy55465.tngl.sh
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 2

rs-cli: simple color support check
rs-runner: wrong position for bwrap double-dash