cyclades: Common function to get object by ID
Create common helper function, for command line tools, to get an object from DB by it's ID, and raise the appropriate command error if the object does not exist or the ID is invalid.
Showing
Create common helper function, for command line tools, to get an object from DB by it's ID, and raise the appropriate command error if the object does not exist or the ID is invalid.