Move metadef commands to sub-commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Opinion
|
Wishlist
|
Niall Bunting |
Bug Description
There are a lot of metadef commands shown with the help output:
$ glance |grep md
md-
md-
md-
md-
md-
md-
md-
md-
md-
md-
md-
md-
md-object-list List metadata definitions objects inside a specific
md-
md-object-show Describe a specific metadata definitions object inside
md-
md-
md-
md-
md-
md-
md-
md-
md-
md-tag-create Add a new metadata definitions tag inside a namespace.
md-
md-tag-delete Delete a specific metadata definitions tag inside a
md-tag-list List metadata definitions tags inside a specific
md-tag-show Describe a specific metadata definitions tag inside a
md-tag-update Rename a metadata definitions tag inside a namespace.
We could reduce the number by creating a 'metadef' command and moving these to sub-commands under that command.
Changed in python-glanceclient: | |
importance: | Undecided → Wishlist |
tags: | added: 1.0.0-potential |
Changed in python-glanceclient: | |
assignee: | nobody → Niall Bunting (niall-bunting) |
tags: | added: triaged |
Changed in python-glanceclient: | |
status: | In Progress → Opinion |
I’d probably remove the md- prefix on them as well.
metadef namespace-create not metadef md-namespace- create.
That seems more friendly to me.
Actually aligns with openstack client a bit better as well. (although it would probably be metadef namespace create / metadef tag create / etc)