opendut icon indicating copy to clipboard operation
opendut copied to clipboard

CLEO should accept a resource's name or UUID for all `--id` arguments

Open kKdH opened this issue 1 year ago • 0 comments

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.

kKdH avatar May 14 '24 09:05 kKdH