Skip to content

editor

const editor: (opts) => Promise<string>

Defined in: packages/prompt/dist/index.d.mts:140

Opens the system editor.

EditorOpts

Options for system editor input.

Promise<string>

The contents of the file.