-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
Rox Sprint 4.8C - Global, Rox Sprint 4.8D - Global
-
0
Expected behavior: When --output-dir is set, roxctl central generate should not output a zip file into STDOUT.
Actual behavior: The output into STDOUT happens regardless.
Cause: c.PersistentFlag().Changed("output-dir") is queried during cobra command construction, however this will always return false. It needs to be queried during command execution instead.