All apps/Electron

Electron

electron

Build cross-platform desktop apps with JavaScript, HTML and CSS.

Runs as electron|macOS, Linux, Windows|www.electronjs.org

Command form

ai-draft · 1 task · 4 fields

Launch an Electron app from a path, optionally with a REPL or a preloaded module.

Opens the form; the finished command lands at your prompt, unrun
otty gui electron
Run an Electron appExample values, fixed in this page — nothing here reaches a terminal
Basic
App path*
any
TasksEach one presets the form for one job
Run app
app
ParametersOnly these flags are editable in the form
App path
Path to an Electron app (folder or script).
path · positional 0
Open main-process REPL
boolean
--interactive-i
Preload module
path
--require-r
Print Node ABI version
boolean
--abi-a
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed electron against its version. A form that does not match your version is not offered.