server: add sort option
This adds a '--sort' to the 'server' sub-command. Currently there is only one sort option, which is by create date. I assumed that his is useful in general, compared to a random order, so I made this the default.
This is slightly over engineered, but makes it easier to add additional sorting options later. One that comes to my mind is sorting by tag (some kind of natsort/semversort).
Signed-off-by: Roland Kammerer [email protected]
It's now 2 weeks without feedback, is there anything I can do? @jessfraz maybe?
ah dope can we change "create-date" to "created" and update the readme :)
so sorry for the delay this is awesome :)
- changed to "created"
- added "--sort" to README.md, and while at it, sorted "server -h" in README.md to match the actual cli output (guess new options have been appended, so it got unsorted).
- rebased to current master
@jessfraz Time for another 2 weeks reminder :-). Anything else missing?
Any update on this?