argoproj / argoproj/argo-workflows
Add `--no-color` flag when submitting and logging: `argo submit --from kind/name --log --no-color`
- Dominant language
- Go
- Stars
- 17k
- Forks
- 3.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 138
Description
# Summary
What change needs making?
requesting `--no-color` flag for `argo submit --from king/name --log --no-color`, like we have in `argo logs --no-color`
## Use Cases
When would you use this?
Many times we want to save the output logs into a file , where we are seeing escape characters instead of colorful text, currently we are using vscode as IDE
command used :
```
argo submit -n argo --log --from workflowtemplates/name -f test.yml | code -
```
---
**Message from the maintainers**:
Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.
Contributor guide
Research direction
Start by comparing the existing `argo logs --no-color` handling with the `argo submit --log` command path. Confirm where submit flags and log output are wired, then verify that `argo submit --from kind/name --log --no-color` accepts the flag and produces log files without escape sequences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100