PackFormatter/README.md

14 lines
623 B
Markdown
Raw Normal View History

2024-05-30 10:04:54 +00:00
## Pack Formatter
To use this, you must have the [Bun runtime](https://bun.sh) installed. Simply run `bun install`, `bun compile`, and you'll find the `build-packs` binary in the `dist` folder.
## Usage
```sh
build-packs
```
### Arguments
* `-i` or `--indir` - The input directory. Defaults to the current working directory.
* `-o` or `--outdir` - The directory to output the compiled packs to. Defaults to dist.
* `-c` or `--common` - The common directory containing shared files. Defailts to common.
* `-r` or `--revision` - The revision/version. Defaults to `git rev-parse --short HEAD` if .git exists, else required.