Update README.md
+ Add more examples + Update options
This commit is contained in:
parent
e79b1c8f39
commit
869c0bb70b
19
README.md
19
README.md
@ -9,7 +9,9 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
Example usage:
|
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 --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 -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`
|
* `./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:
|
## General Options:
|
||||||
```
|
```
|
||||||
Options:
|
Options:
|
||||||
-h, --help Show help [boolean]
|
-h, --help Show help [boolean]
|
||||||
-V, --version Show version number [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]
|
-l, --lang <language> base language for pack generation [string]
|
||||||
-m, --manifest <url> custom manifest endpoint [string]
|
-v, --verid <version-id> base version for pack generation [string]
|
||||||
-r, --resources <url> custom resources endpoint [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
|
# Why Us
|
||||||
|
Loading…
Reference in New Issue
Block a user