defenseunicorns / uds-cli

Apache License 2.0
24 stars 11 forks source link

Vendored Zarf commands don't respect flags #918

Closed UncleGedd closed 2 weeks ago

UncleGedd commented 2 weeks ago

Description

Flags such as --no-log-file and --no-color are not being respected when running uds zarf ...

Steps to reproduce

Example 1:

  1. Run uds zarf version --no-log-file
  2. Scroll to the top of the output and the log file exists

Example 2:

  1. Run uds zarf version --no-color
  2. We still have color in the output Screenshot 2024-09-10 at 3 01 34 PM

Expected Result

All CLI configuration flags passed to uds zarf should be respected

UncleGedd commented 2 weeks ago

TIL the zarf root command in Zarf proper doesn't respect --no-color, but zarf package .. commands do