wavedrom / wavedrom.github.io

Digital timing diagram editor
https://wavedrom.com
MIT License
892 stars 155 forks source link

Integrate cli into editor release? #69

Open Araneidae opened 3 years ago

Araneidae commented 3 years ago

Would it be possible, please, to either integrate the wavedrom cli into the editor release or to make it possible for the cli to use the installed editor.

At present it looks as if the cli repository requires npx to be installed and wavedrom to be installed somewhere npx can find it. Neither of these seem compatible with using the prebuilt editor in this release.

Of course, I'd like to put my diagrams under version control, which means I need a scriptable way to build them into images ... but installing the Javascript development framework is a step to far for me, particularly given that wavedrom-editor seems to work just fine! (Am on Fedora 33.)

pidgeon777 commented 3 years ago

A wavedrom-cli executable could be a nice idea (both for Windows and Linux).