Skip to main content
Module

x/scaffold/src/template/process_template.ts>ProcessTemplate

scaffold your next project with style and 💗
Latest
class ProcessTemplate
import { ProcessTemplate } from "https://deno.land/x/scaffold@0.3.0/src/template/process_template.ts";

A class that wraps the template.

Constructors

new
ProcessTemplate(base: BaseTemplateProps)

Properties

readonly
template
readonly
variables: BaseVariables

Methods

getPermissions(): Promise<ScaffoldPermissions | undefined>

Get the permissions.

getVariables(): Promise<AnyVariables | undefined>

Load the variables. This should be called first.

install(): Promise<void>

Load the dynamically imported template.

processTemplate(): Promise<void>

Process the template copying from the source to the destination.