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

Enable the export in unique folder instead of relative ones #28

Open
rlespinasse opened this issue Aug 4, 2022 · 0 comments
Open

Enable the export in unique folder instead of relative ones #28

rlespinasse opened this issue Aug 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@rlespinasse
Copy link
Owner

rlespinasse commented Aug 4, 2022

Based on this file tree

folder1/file1.drawio
folder2/file2.drawio

The run of drawio-exporter --output export --format png will produce

folder1/file1.drawio
folder1/export/file1.png
folder2/file2.drawio
folder2/export/file2.png

We want to be able to export in a unique folder and produce this kind of output (and also to manage collision if a drawio file exists in different folder)

folder1/file1.drawio
folder2/file2.drawio
export/folder1/file1.png
export/folder2/file1.png

To do so, we will add an option --output-mode (relative|absolute) to produce the output below using drawio-exporter --output export --output-mode absolute --format png. relative will be the default value and produce the current output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant