Use smarter base repo funcs for secret commands

This commit is contained in:
William Martin 2024-12-18 13:36:53 +01:00
parent 73244c010e
commit 870da79886
9 changed files with 647 additions and 500 deletions

View file

@ -180,11 +180,3 @@ func isIncluded(value string, opts []string) bool {
}
return false
}
func CountSetFlags(flags *pflag.FlagSet) int {
count := 0
flags.Visit(func(f *pflag.Flag) {
count++
})
return count
}