hpal icon indicating copy to clipboard operation
hpal copied to clipboard

Support --no-color and --color flags

Open devinivy opened this issue 6 years ago • 4 comments

These flags are handled by the supports-color package—we just need to ensure they don't cause bossy to complain. Might need special handling for hpal run.

devinivy avatar Apr 23 '18 13:04 devinivy

Tested this out locally, the setting is handled correctly by the supports-color package but bossy tracks those flags as arguments; should we explicitly strip those out of args?

wswoodruff avatar Oct 11 '19 20:10 wswoodruff

We want those flags to decide whether hpal and hpal-debug provide colored output, and we want hpal run commands to do with those flags whatever they wish. So in short, they can't simply be stripped out of args if those same args are going to be passed along to an hpal run command. It's a slightly hairy problem to solve.

devinivy avatar Oct 11 '19 20:10 devinivy

Is the value of this feature worth the effort?

jdonisvitch avatar Dec 20 '19 20:12 jdonisvitch

Got a proposal for this here #46

wswoodruff avatar Jul 27 '20 18:07 wswoodruff