Index 
 Flywheel 
 Blackjack   Source   About 

user guide

commands

There are seven Flywheel template commands.
CommandDirectiveDescription
template t Execute another template, path is relative to the base template.
file f Output to a file.
list l Iterate over a list.
execute e Execute a static Java class method.
push p Start defining a variable.
quit q Stop defining a variable or iterating over a list.
variable Output the contents of a variable.

reports, and calling flywheel from java

You may specify a report directory relative to your target directory, to help you analyze large scripts. View Flywheel reports on the templates used to create this site. Those reports were generated by specifying a reports relative directory, fwrpts, and an optional reportsHomeLink in the Flywheel builder, as shown in this excerpt from the com.panopset.web.build.StagePanopset.java class.

new Flywheel.Builder().file(tf) .reports("fwrpts").reportsHomeLink("Home", "../index.html") .tokens("|").targetDirectory(td).construct().exec();

The full source for the panopset project that created this web site is available in a jar file that you may download from the source page.

swiftwheel

Swiftwheel is a Java Swing web start application that applies a Flywheel template to a list. There are quite a variety of mundane repetitive tasks that this simple application can crush. The Swiftwheel wiki page has some examples related to Java programming.