// NewCmdFix returns an instance of 'fix' subcommand.
NewCmdFix returns an instance of 'fix' subcommand.
// NewCmdFix returns an instance of ' fix ' subcommand .
func NewCmdFix(fSys fs.FileSystem) *cobra.Command {
	cmd := &cobra.Command{
		Use:   "fix",
		Short: "Fix the missing fields in kustomization file",
		Long:  "",
		Example: `
	# Fix the missing and deprecated fields in kustomization file
	kustomize edit fix
`,
		RunE: func(cmd *cobra.Command, args []string) error {
			return RunFix(fSys)
		},
	}
	return cmd
}
func NewCmdFix ( fSys fs . FileSystem ) * cobra . Command { cmd := & cobra . Command { Use : " " , Short : " " , Long : " " , Example : `
	# Fix the missing and deprecated fields in kustomization file
	kustomize edit fix

` , RunE : func ( cmd * cobra . Command , args [ ] string ) error { return RunFix ( fSys ) } , } return cmd }
NewCmdFix returns an instance of 'fix' subcommand.
NewCmdFix returns an instance of ' fix ' subcommand .