Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for seenCommands (0.19 sec)

  1. 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] {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top