code: func NewCmdConfigUseContext(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command {
  	options := &useContextOptions{configAccess: configAccess}
  
  	cmd := &cobra.Command{
  		Use:                   "use-context CONTEXT_NAME",
  		DisableFlagsInUseLine: true,
  		Short:                 i18n.T("Sets the current-context in a kubeconfig file"),
  		Aliases:               []string{"use"},
  		Long:                  `Sets the current-context in a kubeconfig file`,
  		Example:               useContextExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmdutil.CheckErr(options.complete(cmd))
  			cmdutil.CheckErr(options.run())
  			fmt.Fprintf(out, "Switched to context %q.\n", options.contextName)
  		},
  	}
  
  	return cmd
  }
docs: // NewCmdConfigUseContext returns a Command instance for 'config use-context' sub command