wavedrom / cli

CLI for WaveDrom
https://wavedrom.com
MIT License
61 stars 11 forks source link

Read from stdin when filename is '-' #15

Open sunflowr opened 4 years ago

sunflowr commented 4 years ago

I need a way to pipe from stdin to wavedrom-cli. I was happy when I found the old issue with a fix for this. Unfortunately it seems that this fix was later removed again. Is there any plan to add support for this again?

sunflowr commented 4 years ago

As I'm using it with pandoc as a filter, it would be great if I could also use - as filename on output to redirect to stdout as well.

damageboy commented 2 years ago

Now that this is fixed, can you release a new version of wavedrom-cli so this would be available through npm install -g?