howToRun:="# Run this command to configure your shell: \n# eval $(minikube docker-env)"
output+=howToRun
returnoutput
executeTemplateStdout(shellCfg)
},
}
funcinit(){
RootCmd.AddCommand(dockerEnvCmd)
dockerEnvCmd.Flags().BoolVar(&noProxy,"no-proxy",false,"Add machine IP to NO_PROXY environment variable")
dockerEnvCmd.Flags().StringVar(&forceShell,"shell","","Force environment to be configured for a specified shell: [fish, cmd, powershell, tcsh, bash, zsh], default is auto-detect")
dockerEnvCmd.Flags().BoolVarP(&unset,"unset","u",false,"Unset variables instead of setting them")