-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --no-color
support / ability to disable ANSI escape codes to argo lint
command
#12913
Comments
Does Otherwise, you'd need to add a |
Yeah, sorry - I should have said in the original post that we are using Admittedly this is a small quality-of-life thing. |
If you're interested in contributing, we have labeled it as a "good first issue" 😉 |
@agilgur5 I could have a look if it is still up for grabs. |
Signed-off-by: Miltiadis Alexis <[email protected]>
Signed-off-by: Miltiadis Alexis <[email protected]>
Signed-off-by: Miltiadis Alexis <[email protected]>
Signed-off-by: Miltiadis Alexis <[email protected]>
Signed-off-by: Miltiadis Alexis <[email protected]>
Signed-off-by: Miltiadis Alexis <[email protected]>
) Signed-off-by: Miltiadis Alexis <[email protected]>
Summary
What change needs making?
I am trying to run
argo lint
with color disabled. I see that some CLI commands support a--no-color
option, butargo lint
does not.argo get
supports--no-color
https://argo-workflows.readthedocs.io/en/latest/cli/argo_logs/#optionsargo logs
supports--no-color
https://argo-workflows.readthedocs.io/en/latest/cli/argo_logs/#optionsOther Argo CLI commands seem not to support this flag.
Use Cases
When would you use this?
For me, the use case is running
argo lint --offline
in CI (GitHub Actions). I want to run the command, capture the output, and include it in a GitHub comment on a Pull Request. The ANSI escape codes make the output hard to read:Message from the maintainers:
Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: