Uploaded image for project: 'Apache Freemarker'
  1. Apache Freemarker
  2. FREEMARKER-149

[freemarker-cli] Support multiple template transformation on the command line

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Currently we support transforming

      • a single template
      • a single directory

      It would be nice to support multiple transformations in one go

      freemarker-cli \
       -t templates/csv/md/transform.ftl -o target/contract.md \
       -t templates/csv/html/transform.ftl -o target/contract.html \
       examples/data/csv/contract.csv
      
      freemarker-cli \
      -t examples/data/template -o target/out/template1 \
      -t examples/data/template -o target/out/template2
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sgoeschl Siegfried Goeschl
            sgoeschl Siegfried Goeschl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment