Open devlead opened 7 months ago
It would seem Spectre.Console 0.48.0 has a breaking change with settings like
This test fails
only the last --ver
works.
not investigated the root cause fully.
Found the issue Spectre.Console.Cli no longer allows default commands to have a --version
parameter, which Cake relied on to have it's own custom version command.
Will see if I can find away around that, can't use the default Spectre version command as it will produce a version string that will break Cake cli contract. Overriding command settings ApplicationVersion
and removing cake version feature should probably achieve the same result for end user.
As it's by design breaking change in Spectre.Console.Cli, I just added a workaround to opt-out of this behavior for Cake.Tool.