Better error message for unknown template kind
When creating a template with unknown template kind (other than what's listed in 'hammer template kinds') hammer responds with "Template kind can't be blank"
The error should be "unknown template kind" or something similar. Template update is most likely affected as well.
hammer template create --name tpl89 --file ./template.txt --type unknown Could not create the config template: Template kind can't be blank
#5 Updated by Rahul Bajaj almost 3 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|5e5a08b6280541da1ef11a5373bc15349840eb58.