From 869c0bb70b4ed7afec0b7a5cc82141541bdabbbd Mon Sep 17 00:00:00 2001 From: Ayaka Date: Mon, 2 Sep 2024 22:39:38 +1200 Subject: [PATCH] Update README.md + Add more examples + Update options --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2b48b85..9ded9c4 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ ``` Example usage: - + +* `./packgen.js -fR` generate a pack with the latest release version and descriptive output (recommended) +* `./packgen.js -f -v 1.15` using version "1.15" for pack generation * `./packgen.js --lang en_nz` generate a pack using `en_nz` insead of the default `en_gb` * `./packgen.js -f` generate a pack with a descriptive output zip E.g. `en_gb-v1.19.1-en_MSE` insead of just `Maoist-Standard-English.zip` * `./packgen.js -m https://example.com/mc/game/version_manifest_v2.json -r https://example.com/` with a custom server `example.com` @@ -168,12 +170,15 @@ zlm_arab ## General Options: ``` Options: - -h, --help Show help [boolean] - -V, --version Show version number [boolean] - -f, --descriptivefile Descriptive output E.g. "en_gb-v1.19.1-en_MSE" [boolean] - -l, --lang base language for pack generation [string] - -m, --manifest custom manifest endpoint [string] - -r, --resources custom resources endpoint [string] + -h, --help Show help [boolean] + -V, --version Show version number [boolean] + -f, --descriptivefile descriptive output E.g. "en_gb-v1.19.1-en_MSE"[boolean] + -l, --lang base language for pack generation [string] + -v, --verid base version for pack generation [string] + -R, --releaseOnly use only the *latest* release version [boolean] + -m, --manifest custom manifest endpoint [string] + -r, --resources custom resources endpoint [string] + -d, --debug verbose debug output [boolean] ``` # Why Us