kieler / klighd-vscode

Eclipse Public License 2.0
8 stars 6 forks source link

Feat: Add `serve` command to the CLI #14

Closed christoph-fricke closed 2 years ago

christoph-fricke commented 2 years ago

This PR adds a new serve command and improves the overall UX of the CLI. All improvements/changes are listed below. The serve command starts the web server without requiring a file path and opening the view. This command is especially useful for diagram views embedded in local documentation, since it has no other side-effects apart from starting the web server, and can be used in scripts.