// Validate validates add transformer command.
Validate validates add transformer command.
// Validate validates add transformer command .
func (o *addTransformerOptions) Validate(args []string) error {
	if len(args) == 0 {
		return errors.New("must specify a transformer file")
	}
	o.transformerFilePaths = args
	return nil
}
func ( o * addTransformerOptions ) Validate ( args [ ] string ) error { if len ( args ) == 0 { return errors . New ( " " ) } o . transformerFilePaths = args return nil }
Validate validates add transformer command.
Validate validates add transformer command .