foundryvtt-cli
foundryvtt-cli copied to clipboard
The official Foundry VTT CLI
Database corruption can be next to impossible to fix for the end user, leaving users who are unfortunate enough to experience it with no recourse. Foundry CLI can allow the...
Relies on https://github.com/foundryvtt/foundryvtt/issues/8786
When compiling a classic level database transform the entry before attempting to access the contents. This allows you to not have to put a _key in the files and instead...
When run with --config=/path/to/config.yml, read the configuration values from that file and merge them into the values from the global config file. If a configuration value is set using the...
The CLI pointlessly adds newline to the output for both JSON and YAML when only JSON needs it. The line affected by this: https://github.com/foundryvtt/foundryvtt-cli/blob/main/lib/package.mjs#L529
This allows compilePack() src argument to not just be a directory with files to pack, but an Iterable of objects to pack. Then it can be used to create packs...