Skip to main content

TemplateVariableStringSetting

Configuration for a template variable.

Index

Properties

default

default: string

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: string