Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/plugin-vite
InternalOptions
SnippetPromptOptions
Interface SnippetPromptOptions
Hierarchy
BasePromptOptions
SnippetPromptOptions
Index
Properties
initial
message
name
newline
required
skip
stdin
stdout
template
type
Methods
format
on
Cancel
on
Submit
result
validate
Properties
Optional
initial
initial
?:
any
message
message
:
string
|
(
(
)
=>
string
)
|
(
(
)
=>
Promise
<
string
>
)
name
name
:
string
|
(
(
)
=>
string
)
Optional
newline
newline
?:
string
Optional
required
required
?:
boolean
Optional
skip
skip
?:
boolean
|
(
(
state
:
object
)
=>
boolean
|
Promise
<
boolean
>
)
Optional
stdin
stdin
?:
ReadStream
Optional
stdout
stdout
?:
WriteStream
Optional
template
template
?:
string
type
type
:
"snippet"
Methods
Optional
format
format
(
value
:
string
)
:
string
|
Promise
<
string
>
Parameters
value:
string
Returns
string
|
Promise
<
string
>
Optional
on
Cancel
on
Cancel
(
name
:
string
, value
:
any
, prompt
:
Enquirer
.
Prompt
)
:
boolean
|
Promise
<
boolean
>
Parameters
name:
string
value:
any
prompt:
Enquirer
.
Prompt
Returns
boolean
|
Promise
<
boolean
>
Optional
on
Submit
on
Submit
(
name
:
string
, value
:
any
, prompt
:
Enquirer
.
Prompt
)
:
boolean
|
Promise
<
boolean
>
Parameters
name:
string
value:
any
prompt:
Enquirer
.
Prompt
Returns
boolean
|
Promise
<
boolean
>
Optional
result
result
(
value
:
string
)
:
string
|
Promise
<
string
>
Parameters
value:
string
Returns
string
|
Promise
<
string
>
Optional
validate
validate
(
value
:
string
)
:
string
|
boolean
|
Promise
<
string
>
|
Promise
<
boolean
>
Parameters
value:
string
Returns
string
|
boolean
|
Promise
<
string
>
|
Promise
<
boolean
>
All Modules
Makers
maker-appx
maker-deb
maker-dmg
maker-flatpak
maker-pkg
maker-rpm
maker-snap
maker-squirrel
maker-wix
maker-zip
Plugins
plugin-auto-unpack-natives
plugin-base
plugin-electronegativity
plugin-fuses
plugin-local-electron
plugin-vite
plugin-webpack
Publishers
publisher-base
publisher-bitbucket
publisher-electron-release-server
publisher-gcs
publisher-github
publisher-nucleus
publisher-s3
publisher-snapcraft
publisher-static
Templates
template-base
template-vite
template-vite-typescript
template-webpack
template-webpack-typescript
Utils & Internal Helpers
core
core-utils
maker-base
shared-types
test-utils
tracer
web-multi-logger