opendut
opendut copied to clipboard
CLEO should accept a resource's name or UUID for all `--id` arguments
Change all id arguments, so they accept a resource's name or UUID:
- [ ] Remove the
--id-postfix from the argument. E.g.--leader-id→--leader - [ ] Create an enum to model the different kinds (UUID/Name)
- [ ] Try to parse an UUID. On failure use the value as name to lookup the resource.
- [ ] Report an error to the user, if there are more than one resource with the given name.