Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for completionShells (0.22 sec)

  1. cmd/kubeadm/app/cmd/completion.go

    		source <(kubeadm completion zsh)`)
    )
    
    var (
    	completionShells = map[string]func(out io.Writer, cmd *cobra.Command) error{
    		"bash": runCompletionBash,
    		"zsh":  runCompletionZsh,
    	}
    )
    
    // GetSupportedShells returns a list of supported shells
    func GetSupportedShells() []string {
    	shells := []string{}
    	for s := range completionShells {
    		shells = append(shells, s)
    	}
    	return shells
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 25 09:28:34 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top