code: func (f *AutostartFlag) VirtualMachines(args []string) ([]*object.VirtualMachine, error) {
  	ctx := context.TODO()
  	if len(args) == 0 {
  		return nil, errors.New("no argument")
  	}
  
  	finder, err := f.Finder()
  	if err != nil {
  		return nil, err
  	}
  
  	var out []*object.VirtualMachine
  	for _, arg := range args {
  		vms, err := finder.VirtualMachineList(ctx, arg)
  		if err != nil {
  			return nil, err
  		}
  
  		out = append(out, vms...)
  	}
  
  	return out, nil
  }
docs: // VirtualMachines returns list of virtual machine objects based on the
  // arguments specified on the command line. This helper is defined in
  // flags.SearchFlag as well, but that pulls in other virtual machine flags that
  // are not relevant here.