Closed lolautruche closed 11 months ago
It seems to happen only for commands implemented in Go, not for the ones forwarded to the legacy CLI.
platform list -v: Outputs nothing platform list: Outputs the commands list correctly
platform list -v
platform list
platform validate -v: Outputs nothing platform validate: Actually runs validation and outputs the result
platform validate -v
platform validate
(Same for the upsun CLI)
upsun
The same happens with -y or --no-interaction
-y
--no-interaction
I guess it's because the verbose flags are not persistent: https://github.com/platformsh/cli/blob/main/commands/root.go#L114
It seems to happen only for commands implemented in Go, not for the ones forwarded to the legacy CLI.
platform list -v
: Outputs nothingplatform list
: Outputs the commands list correctlyplatform validate -v
: Outputs nothingplatform validate
: Actually runs validation and outputs the result(Same for the
upsun
CLI)The same happens with
-y
or--no-interaction