Skip to content
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

Add latest version to wildcard searches #196

Closed
martinbonnin opened this issue Apr 3, 2023 · 2 comments
Closed

Add latest version to wildcard searches #196

martinbonnin opened this issue Apr 3, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@martinbonnin
Copy link

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
@mthmulders
Copy link
Owner

Great usability improvement, thanks for the suggestion @martinbonnin!

@mthmulders
Copy link
Owner

@all-contributors please add @martinbonnin for ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants