Skip to content

freemarker-cli-2.0.0-BETA-5

Latest

Choose a tag to compare

@sgoeschl sgoeschl released this 23 Dec 15:30
· 9 commits to master since this release

Added

  • Support interactive mode (-i or --interactive) to supply FreeMarker templates on the command line
  • UUIDTool to create random and named UUIDs
  • ExcelTool returns raw table consisting of the underlying Java data type
  • Document#getUnsafeInputStream to get a input stream which needs to be closed by the caller
  • CSVTool allows parsing plain string CSV
  • Tools are loaded from freemarker-cli.properties and freely configurable
  • Add RAT & PMD report to Maven site generation
  • Add -times command line option to execute the transformation N times

Changed

  • Renamed ExcelTool#parseSheet to ExcelTool#toTable
  • Removed various Tool constructors taking Settings
  • Do not use documents[0] as top-level variable - use Documents.get(0) instead
  • Available CSV formats are exposed using the CSVTool and not the global data model
  • Expose user-supplied system properties as top-level variables when using -E
  • Keep track of all Closables created & handed out to FreeMarker template rendering
  • Move ObjectConstructor, Statics and Enums into FreeMarkerTool

Deleted

  • Environment & SystemProperties were deleted and the functionality moved to SystemTool
  • All DataModel classes were deleted