func (a *Args) UnmarshalYAML(unmarshal func(interface{}) error) error {
	var ms yaml.MapSlice
	if err := unmarshal(&ms); err != nil {
		return err
	}

	args, err := getArgsWithOrder(ms)
	if err != nil {
		return err
	}

	*a = args

	return nil
}
// UnmarshalYAML unmarshals an ordered set of options and assigns names.
UnmarshalYAML unmarshals an ordered set of options and assigns names.
// UnmarshalYAML unmarshals an ordered set of options and assigns names .
func (a *Args) UnmarshalYAML(unmarshal func(interface{}) error) error {
	var ms yaml.MapSlice
	if err := unmarshal(&ms); err != nil {
		return err
	}
	args, err := getArgsWithOrder(ms)
	if err != nil {
		return err
	}
	*a = args
	return nil
}
func ( a * Args ) UnmarshalYAML ( unmarshal func ( interface { } ) error ) error { var ms yaml . MapSlice if err := unmarshal ( & ms ) ; err != nil { return err } args , err := getArgsWithOrder ( ms ) if err != nil { return err } * a = args return nil }
UnmarshalYAML unmarshals an ordered set of options and assigns names.
UnmarshalYAML unmarshals an ordered set of options and assigns names .