Note that StarUML CLI is supported from the version 5.x
To see help:
$ staruml --help
To run examples, first clone this repository:
$ git clone https://github.com/staruml/staruml-cli-examples.git
$ cd staruml-cli-examples
Simple HTML Page
Generate a simple HTML page showing all UMLClasses.
$ staruml ejs models/library.mdj \
-t ejs/class-list.ejs \
-o class-list.html
Simple Java Class
Generate Java class files for all UMLClasses.
$ staruml ejs models/library.mdj \
-t ejs/java-class.ejs \
-s @UMLClass \
-o "out/<%=filenamify(element.name)%>.java"