Skip to content

staruml/staruml-cli-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarUML CLI Examples

Note that StarUML CLI is supported from the version 5.x

To see help:

$ staruml --help

EJS examples

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"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages