CEN206 Object-Oriented Programming
Plantuml How to use it offline?
Command line
You can run PlantUML using the command line. (See running for ways to run PlantUML from various other tools and workflows).The most basic way to run it is:
java -jar plantuml.jar file1 file2 file3
This will look for @startXYZ
into file1
, file2
and file3
. For each diagram, a .png
file will be created.For processing a whole directory, you can use:
java -jar plantuml.jar "c:/directory1" "c:/directory2"
This command will search for @startXYZ
and @endXYZ
into .txt
, .tex
, .java
, .htm
, .html
, .c
, .h
, .cpp
, .apt
, .pu
, .puml
, .hpp
, .hh
or .md
files of the c:/directory1
and c:/directory2
directories.