@vttforge/cli / InitOptions
Interface: InitOptions
Properties
author?
optionalauthor?:string
Author name for the manifest. Defaults to the local git author.
cwd?
optionalcwd?:string
Override the working directory (test hook). Defaults to process.cwd().
description?
optionaldescription?:string
One-line description for the manifest.
id?
optionalid?:string
Manifest id. Defaults to a slug of the directory name.
lang?
optionallang?:"ts"|"js"
license?
optionallicense?:string
SPDX license id written to package.json.
name?
optionalname?:string
noGit?
optionalnoGit?:boolean
noInstall?
optionalnoInstall?:boolean
title?
optionaltitle?:string
Human-readable title shown in Foundry's setup screens.
type?
optionaltype?:"system"|"module"
yes?
optionalyes?:boolean
Take the default for anything not supplied instead of asking.
Required to scaffold without a terminal: a prompt with nothing to read from waits forever, which is no way to fail.