Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martin-g/maven_search_rs
Command line application for searching in https://search.maven.org
https://github.com/martin-g/maven_search_rs
command-line-tool maven rust search
Last synced: about 2 months ago
JSON representation
Command line application for searching in https://search.maven.org
- Host: GitHub
- URL: https://github.com/martin-g/maven_search_rs
- Owner: martin-g
- License: mit
- Created: 2021-10-21T19:13:54.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T12:11:56.000Z (2 months ago)
- Last Synced: 2024-10-29T14:39:24.861Z (2 months ago)
- Topics: command-line-tool, maven, rust, search
- Language: Rust
- Homepage:
- Size: 319 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# maven_search_rs
Command line application for searching in https://search.maven.org# Usage
## Non-interactive
$ maven-search -f maven wicket-core
The above will search for the latest version of a Maven artifact with id `wicket-core`.
Sample output:```xml
org.apache.wicket
wicket-core
9.8.0```
### Help
$ maven-search -h
prints
```
maven-search [options] querySearch for Maven dependency
Positionals:
query The dependency you search for. E.g. "wicket-core" or "g:org.apache.wicket AND a:wicket-core" [string]
The syntax is the same as at https://search.maven.org/Options:
--version Show version number and exit
--format, -f [string] Define in which format to print dependency. (maven, gradle, gradlekts, lein, ivy, sbt). Default: "maven"
--check-for-update, -u Checks whether there is a new version of this tool available and exit
--help, -h Show this help and exit
```## Interactive
$ maven-search
starts an interactive session where the user has to type the query and select the output format.
[![asciicast](https://asciinema.org/a/447171.svg)](https://asciinema.org/a/447171)