hoop33 / wry

App.net command-line client for Mac OS X
http://grailbox.com/wry
MIT License
43 stars 6 forks source link

Add option to reverse output #29

Closed hoop33 closed 11 years ago

timpritlove commented 11 years ago

I wonder what the best optoin would be. A "reverse" flag (--reverse) implies that it is totally unambiguous what the "natural" order is. Maybe a "--order" flag with an argument?

hoop33 commented 11 years ago

Good point. What about --order and --direction [asc | desc] ? Requires knowledge of what the fields are, but you can get that with -f json.

nielsk commented 11 years ago

Right now it is descending right? Just add --ascending. Without the switch it is descending. Why add an extra switch to get the default behavior anyway?