func (fs FlagSet) Select(flags []cli.Flag, cb map[cli.Flag]func() error) error {
	flag, err := fs.Exclusive(flags...)
	if err == nil {
		if fn := cb[flag]; fn != nil {
			err = fn()
		}
	}
	return err
}
// Select calls the callback function for exclusive flag that is set,
// returns the result of the callback.
Select calls the callback function for exclusive flag that is set,
returns the result of the callback.
// Select calls the callback function for exclusive flag that is set // returns the result of the callback .
func (fs FlagSet) Select(flags []cli.Flag, cb map[cli.Flag]func() error) error {
	flag, err := fs.Exclusive(flags...)
	if err == nil {
		if fn := cb[flag]; fn != nil {
			err = fn()
		}
	}
	return err
}
func ( fs FlagSet ) Select ( flags [ ] cli . Flag , cb map [ cli . Flag ] func ( ) error ) error { flag , err := fs . Exclusive ( flags ... ) if err == nil { if fn := cb [ flag ] ; fn != nil { err = fn ( ) } } return err }
Select calls the callback function for exclusive flag that is set,
returns the result of the callback.
Select calls the callback function for exclusive flag that is set returns the result of the callback .