Skip to main content

publicrun

Callable

  • run(template: Template<any>, args?: readonly string[]): Promise<void>

  • Parses command line arguments and generates files with a Template.

    @remarks

    When an error occurred, it prints error to logger and terminates current process.


    Parameters

    • template: Template<any>

      Template

    • args: readonly string[] = ...

      Command line arguments

    Returns Promise<void>