foundryvtt-cli
foundryvtt-cli copied to clipboard
Adjust example API usage
The example API usage for some reason assumes the current working directory is the user's Modules folder, rather than the module folder itself; this contrasts with the shell commands, as those are configured to know the user's Data folder and which subfolder to check in.
So instead of await compilePack("mymodule/packs/src/actors", "mymodule/packs/actors");
the example usage should either mimic a full path or go await compilePack("packs/src/actors", "packs/actors");