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

support directory to directory compilation #1973

Closed
sdykae opened this issue Jun 6, 2024 · 1 comment
Closed

support directory to directory compilation #1973

sdykae opened this issue Jun 6, 2024 · 1 comment

Comments

@sdykae
Copy link

sdykae commented Jun 6, 2024

support directory to directory compilation

the simpler way i found to use the tool in the same directory and output svgs in the same directory is:

find src/d2 -name '*.d2' -exec sh -c 'd2 "$1" "${1%.d2}.svg"' _ {} \;
@alixander
Copy link
Collaborator

Thanks @sdykae , agreed. Dupe of #13 .

@alixander alixander closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants