Skip to content

cli: add play cmd - #2242

Merged
alixander merged 6 commits into
d2lang:masterfrom
turkmenkaan:f/add-play-cmd
Feb 4, 2025
Merged

alixander merged 6 commits into
d2lang:masterfrom
turkmenkaan:f/add-play-cmd

Conversation

@turkmenkaan

Copy link
Copy Markdown
Contributor

Fix #1213 - Added play command to cli that opens the playground with the given diagram, theme and sketch flag.

@alixander alixander left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! Can you add a line to next.md and also update the man page as well?

Comment thread d2cli/help.go Outdated
Comment thread d2cli/main.go Outdated
Comment thread d2cli/play.go
Comment thread d2cli/play.go Outdated
Comment thread d2cli/play.go
@turkmenkaan

Copy link
Copy Markdown
Contributor Author

nice! Can you add a line to next.md and also update the man page as well?

I'm assuming you'd consider this a feature? Or should I put it under improvements?

@alixander

Copy link
Copy Markdown
Collaborator

yeah that's a feature

@alixander alixander left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks again!

@alixander
alixander merged commit 5f95c54 into d2lang:master Feb 4, 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 this pull request may close these issues.

d2 play input.d2

2 participants