Options
All
  • Public
  • Public/Protected
  • All
Menu

eagletrt-code-generator - v2.4.0

Index

Interfaces

Functions

Functions

generate

  • generate(src?: undefined | string, structureModel?: undefined | string, configModel?: undefined | string, options?: Options): void
  • Fetches all the template files in the given folder (files whose extension is preceded by .template) and generate the code inside the special comments (such as //{{COMMENT}})

    Parameters

    • Optional src: undefined | string

      The folder where the template files will be fetched from. The default is the current folder.

    • Optional structureModel: undefined | string

      The path to the json file containing the structure model, used by generators to dynamically generate code about the data structure. The default is structure.model.json.

    • Optional configModel: undefined | string

      The path to the json file containing the config model, used by generators to dynamically generate code about the config parser. The default is config.model.json.

    • Optional options: Options

      The options specifying things such as logging, indentation and filters on the files

    Returns void

Generated using TypeDoc