Suggestion: Provide a way to force progress logging and color
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
If you run xcodes runtimes install "iOS 17.0" in a terminal, you get nice progress logging output and colors.
If you run xcodes runtimes install "iOS 17.0" | cat, you get no output until it finishes. There's a --color option, but it has no effect. (I also tried stdbuf -i0 -o0 -e0 ... with no luck.)
It would be nice to be able to force color + progress logging. We use xcodes runtimes install inside one of our scripts, but unfortunately it's impossible to see the progress and show it to the user.
In addition to --color, I suggest supporting https://force-color.org/ too :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the xcodes runtimes install command entry point and inspect how output and the existing --color option behave when stdout is piped. Review force-color.org for the requested convention, then verify that forced color and progress logging remain visible through a command such as xcodes runtimes install "iOS 17.0" | cat.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100