mcdl-0.0.2 is not a library.
MCDL
Automatically download minecraft server jars in one line (or one click)
Installation
- Download (Windows, Linux)
- Install via cargo:
cargo install mcdl
Examples
mcdl- download latest server asserver.jarmcdl -s- download latest snapshot jarmcdl -sp- print latest snapshot versionmcdl -n- download latest server asserver-1.17.1.jarmcdl -n 1.16.5- download 1.16.5 asserver-1.16.5.jar
Usage
USAGE:
mcdl.exe [FLAGS] [OPTIONS] [--] [VERSION]...
FLAGS:
-h, --help Prints help information
-i, --insecure Don't check the sha1 for the file
-l, --latest Use latest version, snapshot or not
-n, --named Use the version as the file name
-p, --print Print the version instead of downloading it
-q, --quiet Don't print any unnecessary output
-s, --snapshot Use the latest snapshot
-V, --version Prints version information
OPTIONS:
-r, --rename <rename>... Provide a file name (.jar) is appended
ARGS:
<VERSION>... Get a specific version
Why?
I thought it would be fun to write in Rust. If you wanted a single line of bash to do it, use one of these (requires jq, curl, and wget):
-
Download latest available (snapshot or release) minecraft server.jar
| | -
Download latest release minecraft server.jar
| | -
Download latest snapshot minecraft server.jar
| |