gen-rawoption.go
func (o *BoolOption) WriteAnswer(name string, value interface{}) error {
	if v, ok := value.(bool); ok {
		o.Value = v
		o.Defined = true
		o.Source = "prompt"
		return nil
	}
	return fmt.Errorf("Got %T expected %T type: %v", value, o.Value, value)
}
func (o *BoolOption) WriteAnswer(name string, value interface{}) error {
	if v, ok := value.(bool); ok {
		o.Value = v
		o.Defined = true
		o.Source = "prompt"
		return nil
	}
	return fmt.Errorf("Got %T expected %T type: %v", value, o.Value, value)
}
// This is useful with survey prompting library