zx-plantuml-cli
ZX scripts providing utilities for PlantUML
Getting Started
homebrew
Install PlantuML on MacOS usingbrew install plantuml
chocolatey
Install PlantuML on Windows usingchoco install plantuml
Install package
npm install @bsorrentino/zx-plantuml-cli -g
Commands
png2puml
To encode a sprite at gray level 16 from an PNG image
behind the scene it run command
plantuml -encodesprite 16 $1.png > $1.puml
that is equivalent at
java -jar plantuml.jar -encodesprite 16 $1.png > $1.puml
Usage
npx png2puml [--image <image path>] [--out <out dir>]
Such command interactively ask for :
- Image Path (if not provided on command line).