Skip to main content
Module

x/scaffold/src/template/define_template.ts>BaseTemplateProps

scaffold your next project with style and 💗
Latest
interface BaseTemplateProps
import { type BaseTemplateProps } from "https://deno.land/x/scaffold@0.3.0/src/template/define_template.ts";

Properties

name: string

The name of the configuration file.

source: string

The absolute path to the source directory of the template.

destination: string

The absolute path to the destination directory.

initialVariables: BaseVariables

All the cli arguments that were passed when created via the cli.

permissions: ScaffoldPermissions

The current permissions of the worker.

interactive: boolean

By default interactive is true. The prompt should only be used when interactive is true.

If false, then getVariables will not be called.