// NewCmdConfig creates a command object for the "config" action, and adds all child commands to it. func NewCmdConfig(restClientGetter genericclioptions.RESTClientGetter, pathOptions *clientcmd.PathOptions, streams genericiooptions.IOStreams) *cobra.Command { … } func toBool(propertyValue string) (bool, error) { … } func helpErrorf(cmd *cobra.Command, format string, args ...interface{ … }