CLI improving #275
pleshevskiy
started this conversation in
Ideas
Replies: 2 comments 4 replies
For future searchers, this idea has its own issue now: #410 (though I don't think they should be removed from arguments; CLI arguments should override code metadata) |
4 replies
|
Most of the discussion so far has been about setting CLI flags like
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
At the moment, for every new file we develop, we have to create a new command for build and watch. Now I achieve this with a powerful makefile setup.
And I can use it as the following:
The idea I propose is to add an optional parameter to
--watchon the directory where the files are located. And the d2 tool will create a small file server where it will display the current d2 files with a link to them. Once selected it will display the SVG with livereload.The second suggestion is to remove
layoutandthemefrom the arguments in the d2 tool and add them to root asdirection(if possible of course).All reactions