-
Notifications
You must be signed in to change notification settings - Fork 17
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
Suggestion: Provide option for 'unpack' command that unpacks adventure documents into their subordinate component documents #46
Comments
+1 |
arbron
added a commit
to arbron/foundryvtt-cli
that referenced
this issue
Feb 20, 2025
Adds a new `expandAdventures` option that extracts all of the documents within an adventure into their own files when extracting from LevelDB. When this option is selected each individual document in the adventure is extracted as if they were primary documents and gets `transformEntry` and `transformName` called on them with an additional context object that contains information on the adventure itself. The adventure is then saved with the filenames for the written files in place of the whole objects. When compiling back to NeDB or LevelDB, the CLI will check for any strings within the adventure document and reassemble it from the files listed. Closes foundryvtt#46
arbron
added a commit
to arbron/foundryvtt-cli
that referenced
this issue
Feb 20, 2025
Adds a new `expandAdventures` option that extracts all of the documents within an adventure into their own files when extracting from LevelDB. When this option is selected each individual document in the adventure is extracted as if they were primary documents and gets `transformEntry` and `transformName` called on them with an additional context object that contains information on the adventure itself. The adventure is then saved with the filenames for the written files in place of the whole objects. When compiling back to NeDB or LevelDB, the CLI will check for any strings within the adventure document and reassemble it from the files listed. Closes foundryvtt#46
PR up for this: #61 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While they're a single document in themselves, adventures are a bit of a special case and each one sort of functions as its own special compendium- it would be nice to have an option to get an individual file for each of the contained documents, rather than a single file for the entire adventure.
The text was updated successfully, but these errors were encountered: