Skip to main content

TemplateVariableBoolSetting

Configuration for a template variable.

Index

Properties

default

default: boolean

The default value of the variable if none was provided.

internal

internal: boolean

Marks the variable as internal, and won't be overwritten via CLI arguments.

order

order: null | number

The order in which variables should be prompted for.

prompt

prompt: null | string

Prompt the user for a value when the generator is running.

required

required: null | boolean

Marks the variable as required, and will not accept an empty value.

type

type: boolean