// newCmdAddTransformer adds the name of a file containing a transformer
// configuration to the kustomization file.
newCmdAddTransformer adds the name of a file containing a transformer
configuration to the kustomization file.
// newCmdAddTransformer adds the name of a file containing a transformer // configuration to the kustomization file .
func newCmdAddTransformer(fSys filesys.FileSystem) *cobra.Command {
	var o addTransformerOptions
	cmd := &cobra.Command{
		Use:   "transformer",
		Short: "Add the name of a file containing a transformer configuration to the kustomization file.",
		Example: `
		add transformer {filepath}`,
		RunE: func(cmd *cobra.Command, args []string) error {
			err := o.Validate(args)
			if err != nil {
				return err
			}
			return o.RunAddTransformer(fSys)
		},
	}
	return cmd
}
func newCmdAddTransformer ( fSys filesys . FileSystem ) * cobra . Command { var o addTransformerOptions cmd := & cobra . Command { Use : " " , Short : " " , Example : `
		add transformer {filepath}` , RunE : func ( cmd * cobra . Command , args [ ] string ) error { err := o . Validate ( args ) if err != nil { return err } return o . RunAddTransformer ( fSys ) } , } return cmd }
newCmdAddTransformer adds the name of a file containing a transformer
configuration to the kustomization file.
newCmdAddTransformer adds the name of a file containing a transformer configuration to the kustomization file .