-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support --order
and --order_by
for list operations
#506
Adding support --order
and --order_by
for list operations
#506
Conversation
--order
and --order_by
for list operations
Looks like unit tests and lint are failing. Tests might need to be updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, this seems to work well in my local testing! Just a few small code suggestions and a few missing tests and we should be good to go!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
there seem to be a large conflict to solve... |
Looks like the conflicts are related to the refactors I made to the |
Just gonna quickly check that the functionality still remains, I see that we just split up parse_args to be a bit neater so shouldn't impact either PR |
📝 Description
Adds --order_by and --order to filtering operations.
✔️ How to Test
Tested using command line.
Ex.
linode-cli linodes list --order_by label --order desc
linode-cli linodes list --order_by label