Created
May 15, 2016 15:28
-
-
Save remen/c784fff483ef6bf09836cdab27630e28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Example usage: | |
# $ searchmaven rxjava | |
# io.reactivex:rxjava:1.1.5 | |
# org.wildfly.swarm:rxjava:1.0.0.Alpha8 | |
# com.artemzin.rxjava:proguard-rules:1.1.5.0 | |
# ... | |
http "http://search.maven.org/solrsearch/select?q=$1" | jq -r '.response.docs | map([.id,.latestVersion] | join(":")) | .[]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment