reg icon indicating copy to clipboard operation
reg copied to clipboard

server: add sort option

Open rck opened this issue 6 years ago • 5 comments

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]

rck avatar Apr 23 '19 13:04 rck

It's now 2 weeks without feedback, is there anything I can do? @jessfraz maybe?

rck avatar May 08 '19 10:05 rck

ah dope can we change "create-date" to "created" and update the readme :)

so sorry for the delay this is awesome :)

jessfraz avatar Jun 10 '19 17:06 jessfraz

  • 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

rck avatar Jun 11 '19 12:06 rck

@jessfraz Time for another 2 weeks reminder :-). Anything else missing?

rck avatar Jun 26 '19 12:06 rck

Any update on this?

joseluisq avatar Nov 19 '19 08:11 joseluisq