Add latest version to wildcard searches
martinbonnin opened this issue · comments
Most of the times, I'm using the tool to add a dependency to one of my projects in which case, I want the latest most of the times. Including the version in the search results by default would save me a CLI round trip:
Before:
$ mcs search okio
Coordinates Last updated
=========== ============
org.wso2.orbit.com.squareup.okio:okio 14 Mar 2023 at 06:48 (CET)
com.squareup.okio:okio 07 Jan 2023 at 23:01 (CET)
... More
$ mcs search com.squareup.okio:okio
Searching for com.squareup.okio:okio...
Found 65 results (showing 20)
Coordinates Last updated
=========== ============
com.squareup.okio:okio:3.3.0 07 Jan 2023 at 23:01 (CET)
com.squareup.okio:okio:3.2.0 27 Jun 2022 at 05:20 (CEST)
After:
$ mcs search okio
Coordinates Last updated
=========== ============
org.wso2.orbit.com.squareup.okio:okio:2.8.0.wso2v3 14 Mar 2023 at 06:48 (CET)
com.squareup.okio:okio:3.3.0 07 Jan 2023 at 23:01 (CET)
... More
Great usability improvement, thanks for the suggestion @martinbonnin!