-
Notifications
You must be signed in to change notification settings - Fork 492
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
cli: add --target flag #1725
cli: add --target flag #1725
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in the future D2 should allow exporting just a container from a diagram, which can reuse this flag if we call it --render-target
or something.
cc @gavin-ts any alt name suggestions?
hmm maybe the target is implicit, I think I would prefer using
|
I don't think it's implicit. With just a |
It could also be just |
|
PR updated to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! looks good to me
closes #1707
closes #1727
This PR adds
--target
flag which allows exporting a single board from a multi-board diagram.Layer "b" can be exported with one of the following commands:
EDIT: comment updated to reflect changes after review.