Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When serializing a Compendium pack, write documents to disk matching their Folder structure #5

Open
cswendrowski opened this issue Jan 23, 2023 · 1 comment · May be fixed by #60
Open

Comments

@cswendrowski
Copy link
Contributor

Relies on foundryvtt/foundryvtt#8786

@aaclayton aaclayton transferred this issue from foundryvtt/foundryvtt Apr 12, 2023
arbron added a commit to arbron/foundryvtt-cli that referenced this issue Feb 19, 2025
Adds the `folders` option to extraction that places extracted
documents into folders matching the folders in the original
compendium. The folder data itself is added to `_Folder.json/yml`
within the created folder.

Adds a `transformFolderName` option when programmatically calling
`extractPack` that allows for renaming the folder that will be
created. The normal `transformName` callback also gets a second
parameter with the containing folder name.

Closes foundryvtt#5
@arbron
Copy link

arbron commented Feb 20, 2025

I put up a PR for this issue: #60

arbron added a commit to arbron/foundryvtt-cli that referenced this issue Feb 20, 2025
…bject

Moved the `folder` passed into `NameTransformer` into a `context`
object to potentially support additional context in the future.
arbron added a commit to arbron/foundryvtt-cli that referenced this issue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants