Skip to main content

PartialTemplateVariableBoolSetting

Configuration for a template variable.

Index

Properties

optionaldefault

default?: null | boolean

The default value of the variable if none was provided.

optionalinternal

internal?: null | boolean

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

optionalorder

order?: null | number

The order in which variables should be prompted for.

optionalprompt

prompt?: null | string

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

optionalrequired

required?: null | boolean

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

optionaltype

type?: null | boolean