@electron-forge/core
Version:
A complete tool for building modern Electron applications
36 lines • 1.1 kB
TypeScript
export interface InitOptions {
/**
* The path to the app to be initialized
*/
dir?: string;
/**
* Whether to use sensible defaults or prompt the user visually
*/
interactive?: boolean;
/**
* Whether to copy template CI files
*/
copyCIFiles?: boolean;
/**
* Whether to overwrite an existing directory
*/
force?: boolean;
/**
* The custom template to use. If left empty, the default template is used
*/
template?: string;
/**
* By default, Forge initializes a git repository in the project directory. Set this option to `true` to skip this step.
*/
skipGit?: boolean;
/**
* Set a specific Electron version for your Forge project.
* Can take in version numbers or `latest`, `beta`, or `nightly`.
*
* @defaultValue The `latest` tag on npm.
*/
electronVersion?: string;
}
declare const _default: ({ dir, interactive, copyCIFiles, force, template, skipGit, electronVersion, }: InitOptions) => Promise<void>;
export default _default;
//# sourceMappingURL=init.d.ts.map