Interface IGetUserInputFromEditorOptions

Hierarchy

  • IGetUserInputFromEditorOptions

Properties

content?: string

The content to put in the temp file so that the user can edit it. Defaults to an empty file.

editor?: string

Launch command to start your editor. Defaults to VSCode: 'code -w' (if installed). Otherwise this logic: isWindows() ? 'notepad' : isOSX() ? 'open vi' : 'xdg-open'

extension?: string

The file extension to use for the temporary file. Defaults to '.txt'.

Generated using TypeDoc