← Back to team overview

openstack team mailing list archive

[client] changes to cliff for "create" commands

 

A few days ago we talked about the fact that it felt weird to have the
create commands implementing get_data() in order to make a new resource and
then show its properties. I have a proposed change for a new base class in
cliff [1] that adds a special class for this purpose, with a more logical
API.

Let me know what you think,
Doug

[1]
https://github.com/dhellmann/cliff/commit/b709ccb61760fb3dad7c76ac3df7aa257a930ea4