Use smarter base repo funcs for secret commands
This commit is contained in:
parent
73244c010e
commit
870da79886
9 changed files with 647 additions and 500 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue