cmd.Flags().BoolVar(&o.local,"local",o.local,"If true, convert will NOT try to contact api-server but run locally.")
cmd.Flags().StringVar(&o.OutputVersion,"output-version",o.OutputVersion,i18n.T("Output the formatted object with the given group version (for ex: 'extensions/v1beta1').)"))
o.PrintFlags.AddFlags(cmd)
cmdutil.AddValidateFlags(cmd)
cmdutil.AddFilenameOptionFlags(cmd,&o.FilenameOptions,"to need to get converted.")
cmd.MarkFlagRequired("filename")
returncmd
}
}
// Complete collects information required to run Convert command from command line.
// Complete collects information required to run Convert command from command line.