Add sort option in a common way
Registered by
aohuanxuan
osc-lib support to sort list by keys and directions by using the method:
utils.
but there are many list commands in OSC do not support it.
So I think we can add the "--sort" option for list commands in OSC in a common way.
for example, we can add a common method like
add_
in a common file and reuse it in our list commands.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- aohuanxuan
- Direction:
- Needs approval
- Assignee:
- aohuanxuan
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add "--sort" option to "volume backup list" in a common way
(?)