MarkdownEditor prompts the user to edit a markdown document in an editor. If blankAllowed is true, the user can skip the editor and an empty string will be returned.
(prompt string, defaultValue string, blankAllowed bool)
| 50 | // If blankAllowed is true, the user can skip the editor and an empty string |
| 51 | // will be returned. |
| 52 | MarkdownEditor(prompt string, defaultValue string, blankAllowed bool) (string, error) |
| 53 | } |
| 54 | |
| 55 | func New(editorCmd string, io *iostreams.IOStreams) Prompter { |
no outgoing calls