Open larsks opened 6 months ago
From https://clig.dev/#output :
Related issues:
Hey @larsks 👋. Thanks for opening the issue!
I believe this is actually a duplicate of an issue we have on the smallstep/cli repo (as @hslatman referenced above), but it probably makes sense to have an issue in this repo as well.
We definitely agree that supporting --no-color
would be a useful feature. We've actually run into this issue a few times ourselves. Unfortunately, after some discussion this morning we came to the realization that this is probably not a "quick fix". We are a small team and we are heavily focused on product roadmap at the moment so we cannot make any guarantees with regards to prioritization. That said, we'd be happy to accept contribution from the community - if anyone is interested in working on this, please let us know as we'd love to help brainstorm and guide the implementation.
Cheers 🍻
Steps to Reproduce
Try running some like:
Your Environment
step-ca
Version - 0.25.2Expected Behavior
I expected to see the help output from step commands displayed in a readable fashion on my screen.
Actual Behavior
This mess:
Additional Context
This is common behavior for most programs that are able to generated formatted output on the terminal; they suppress colors/other formatting when the output isn't a tty. Compare, e.g.:
With:
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).