Skip to content
davidmfoley edited this page Sep 13, 2010 · 1 revision

StorEvil supports using spark templates to generate reports in HTML (or other formats).

See the default.spark file in the Pizza.Specifications project for an example of a spark template that outputs an HTML report.

You can specify the template file using the -t/--output-file-template parameter, along with the -f/--output-file-format and -o/--output-file parameters.

This will generate a report at myReport.html by using the template myTemplate.spark:
storevil execute -o myReport.html -f spark -t myTemplate.spark

You can also specify the defaults for these settings in the storevil.config file:
OutputFile=myReport.html
OutputFileFormat=spark
OutputFileTemplate=myReport.html