// processDeviceSelection processes the the user selected device, check if it is an actual device and make sure the requirements are set
processDeviceSelection processes the the user selected device, check if it is an actual device and make sure the requirements are set
// processDeviceSelection processes the the user selected device check if it is an actual device and make sure the requirements are set
func (c *CmdConfigure) processDeviceSelection(deviceCategory DeviceCategory) (templates.Template, error) {
	templateItem := c.selectItem(deviceCategory)
	if templateItem.Description == c.localizedString("ItemNotPresent", nil) {
		return templateItem, c.errItemNotPresent
	}
	if err := c.processDeviceRequirements(templateItem); err != nil {
		return templateItem, err
	}
	return templateItem, nil
}
func ( c * CmdConfigure ) processDeviceSelection ( deviceCategory DeviceCategory ) ( templates . Template , error ) { templateItem := c . selectItem ( deviceCategory ) if templateItem . Description == c . localizedString ( " " , nil ) { return templateItem , c . errItemNotPresent } if err := c . processDeviceRequirements ( templateItem ) ; err != nil { return templateItem , err } return templateItem , nil }
processDeviceSelection processes the the user selected device, check if it is an actual device and make sure the requirements are set
processDeviceSelection processes the the user selected device check if it is an actual device and make sure the requirements are set