- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for seenCommands (0.12 sec)
-
istioctl/cmd/root.go
seenCommands := make(map[*cobra.Command]bool) var commandStack []*cobra.Command commandStack = append(commandStack, rootCmd) for len(commandStack) > 0 { n := len(commandStack) - 1 curCmd := commandStack[n] commandStack = commandStack[:n] seenCommands[curCmd] = true for _, command := range curCmd.Commands() { if !seenCommands[command] {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0)