Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Examples

A few examples are provided in this folder. See the input and corresponding output folders.

Try them out by running ./scripts/run-example-<name>.sh from the parent folder.

  • basic - A basic example of using dgen with just a template files and the default data. It creates a TypeScript file.
  • data - An example of using dgen with a data file. It creates a TypeScript file and then executes it.
  • markdown - An example of using dgen with a data file and outputting Markdown.
  • processor - An example of using dgen with a processor file.