Make flag mutually exclusive

This commit is contained in:
Dennis Verheijden
2025-09-11 13:25:40 +02:00
committed by Manuel Rüger
parent de0e1b622a
commit 2173fbcfcd
3 changed files with 66 additions and 3 deletions

View File

@@ -10,7 +10,6 @@ import (
"github.com/urfave/cli/v3"
)
var (
version = "dev"
commit = "none"
@@ -30,6 +29,7 @@ func main() {
Flags: util.Flags,
EnableShellCompletion: true,
HideHelpCommand: true,
Before: util.CheckMutuallyExclusiveTitleFlags,
Action: util.RunMark,
}