code: func (o *GetContextsOptions) Complete(cmd *cobra.Command, args []string) error {
  	o.contextNames = args
  	o.nameOnly = false
  	if cmdutil.GetFlagString(cmd, "output") == "name" {
  		o.nameOnly = true
  	}
  	o.showHeaders = true
  	if cmdutil.GetFlagBool(cmd, "no-headers") || o.nameOnly {
  		o.showHeaders = false
  	}
  
  	return nil
  }
docs: // Complete assigns GetContextsOptions from the args.