Public | Automated Build

Last pushed: 8 months ago
Short Description
Docker to use wavedrom-cli
Full Description

docker-wavedrom-cli

Usage

Pure Docker

docker run -v ~/Documents:/data mvonbun/docker-wavedrom-cli -i mywave.json -p mywave.pdf

to generate file ~/Documents/mywave.pdf out of ~/Documents/mywave.json.

Bash Wrapper Script

docker-wavedrom-cli.sh input output
docker-wavedrom-cli.sh file1 file2 file3
docker-wavedrom-cli.sh -f svg file1 file2 file3

Wavedrom

wavedrom is a convenient way for drawing waveforms.

The official resources for building waveforms include:

Using the cli, you can code offline (or use the online editor and copy
your code) and convert the result to either PDF, PNG, or SVG. To use
the official cli, PhantomJS is required on the
system. Using docker, there is no need for installing PhantomJS just to
get your waveforms from the command line.

wavedrom-cli options

-i infile.json input wavedrom source filename
-p outfile.png output PNG image file name
-p outfile.pdf output PDF file name
-s outfile.svg output SVG image file name

Docker

"Docker is the world’s leading software
container platform [[1] (https://www\.docker\.com/what-docker)]

Docker Pull Command
Owner
mvonbun
Source Repository

Comments (0)