Hi,
that definitely makes sense. We already have a couple of such checks in
kas, but it is not applied consistently.
[1] https://github.com/search?q=repo%3Asiemens%2Fkas%20isatty&type=code
>
> The logic could look like:
>
> 1. If NO_COLOR=1, disable colors. else:
> 2. if sys.stdout.isatty() and sys.stderr.isatty(), enable colors. else:
> 3. disable colors
Also that makes sense. We just need to ensure to forward the variable /
flag from kas-container into kas and make sure the tty detection is
correctly working on docker and podman.
Felix
> --
> You received this message because you are subscribed to the Google Groups "kas-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kas-devel+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/kas-devel/CAKNeuBrNbJb09Qom-75dS%2BCCf1cGv3MCA-QPXHni9U-mpx3TSg%40mail.gmail.com.