XcodesOrg/xcodes

Suggestion: Provide a way to force progress logging and color

scottjasso opened this issue · 0 comments

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 :)