interface InitOptions {
    copyCIFiles?: boolean;
    dir?: string;
    force?: boolean;
    interactive?: boolean;
    skipGit?: boolean;
    template?: string;
}

Properties

copyCIFiles?: boolean

Whether to copy template CI files

dir?: string

The path to the app to be initialized

force?: boolean

Whether to overwrite an existing directory

interactive?: boolean

Whether to use sensible defaults or prompt the user visually

skipGit?: boolean

By default, Forge initializes a git repository in the project directory. Set this option to true to skip this step.

template?: string

The custom template to use. If left empty, the default template is used