respec icon indicating copy to clipboard operation
respec copied to clipboard

Ditch colors, use chalk?

Open marcoscaceres opened this issue 3 years ago • 6 comments

Given what happened in: https://github.com/w3c/respec/issues/3951

And it seems the author is unrepentant, we should probably move to chalk or some other lib.

marcoscaceres avatar Jan 18 '22 06:01 marcoscaceres

Also good: https://github.com/sindresorhus/terminal-link

sidvishnoi avatar Jan 18 '22 08:01 sidvishnoi

Interesting... iterm2 on Mac automatically identifies links. I wonder if we should leave link handling to the terminal itself?

marcoscaceres avatar Jan 20 '22 06:01 marcoscaceres

Actually, iterm2 identifies "URLs"... being able to create hyperlinks with just test is pretty neat tho. I'd not seen that before.

I wonder if we would use that though.

marcoscaceres avatar Jan 20 '22 06:01 marcoscaceres

I found it relevant for showing xref links at least. They're hard to read and clutter terminal. For docs links, maybe not.

sidvishnoi avatar Jan 20 '22 07:01 sidvishnoi

But now the primary user of CLI is likely not a terminal, maybe leave it as it is.

sidvishnoi avatar Jan 20 '22 08:01 sidvishnoi

True, it’s mostly CI.

marcoscaceres avatar Jan 20 '22 12:01 marcoscaceres