Skip to content

editor

editor: (opts) => Promise<string>

Defined in: packages/prompt/src/prompts/editor.ts:27

Opens the system editor.

EditorOpts

Options for system editor input.

Promise<string>

The contents of the file.