Output

Mirroring the input type, the output can be :

  • a file

  • a directory

Depending on the data structure, each file template input can produce either a single output file or multiple output files :

  • tree data structure :

    • one single output file per input file

  • flat data structure :

    • one single output file per input file when using a loop injection :

      • the flat data structure is injected into the input template file and looped over to produce repetitive content

    • multiple output files per input file :

      • one output file is generated for each element of the flat data structure

        • one file for each column of a tabular data structure

        • one file for each element of a json array data structure

Last updated

Was this helpful?