@bsorrentino/zx-plantuml-cli

1.0.3 • Public • Published

zx-plantuml-cli

ZX scripts providing utilities for PlantUML

Getting Started

Install PlantuML on MacOS using homebrew

brew install plantuml

Install PlantuML on Windows using chocolatey

choco 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 :

  1. Image Path (if not provided on command line).

Reference

Readme

Keywords

Package Sidebar

Install

npm i @bsorrentino/zx-plantuml-cli

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

21.4 kB

Total Files

7

Last publish

Collaborators

  • bsorrentino