pub fn edit_in_editor(text: &str) -> Result<String>
Open text in $EDITOR (falling back to vi / notepad) and return the edited contents.
text
$EDITOR
vi
notepad