1.0.3 • Published 4 years ago
@bsorrentino/zx-plantuml-cli v1.0.3
zx-plantuml-cli
ZX scripts providing utilities for PlantUML
Getting Started
Install PlantuML on MacOS using homebrew
brew install plantumlInstall PlantuML on Windows using chocolatey
choco install plantumlInstall package
npm install @bsorrentino/zx-plantuml-cli -gCommands
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.pumlthat 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 : 1. Image Path (if not provided on command line).