Update README.md

+ Add more examples 
+ Update options
This commit is contained in:
Ayaka 2024-09-02 22:39:38 +12:00
parent e79b1c8f39
commit 869c0bb70b

View File

@ -10,6 +10,8 @@
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`
@ -170,10 +172,13 @@ zlm_arab
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]
-f, --descriptivefile descriptive output E.g. "en_gb-v1.19.1-en_MSE"[boolean]
-l, --lang <language> base language for pack generation [string]
-v, --verid <version-id> base version for pack generation [string]
-R, --releaseOnly use only the *latest* release version [boolean]
-m, --manifest <url> custom manifest endpoint [string]
-r, --resources <url> custom resources endpoint [string]
-d, --debug verbose debug output [boolean]
```
# Why Us