-
-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Is your feature request related to a problem? Please describe.
If you have the <GenerateDocumentation> set in your build and this runs on a build server, the ANSI coloring and somewhat dynamic output can make the build logs look long and confusing. This also happens if you have the build running in, say, VS Code - it all shows up in the terminal.
Describe the solution you would like
It would be nice to have a --no-color option that could be used in automated build situations. Invoking this option would...
- Remove ANSI color from the output.
- Remove animations / animated progress spinners from the output and instead use something friendly to a simpler console situation (percentage, dots, etc.).
- Remove extraneous whitespace/blank lines from the output.
In addition, making the --no-color the way it works if invoked via KubeOps.Operator.targets (the automated build integration) would be nice.
If that can't be made the default, a way to pass additional parameters to the dotnet kubeops invocation in KubeOps.Operator.targets would help folks opt-in to the --no-color behavior.
Additional Context
docker has a similar flag --progress=plain for integration into automated scenarios. It may be interesting to see the differences there if looking for a comparison.