Edit strings with your preferred text editor via $VISUAL or $EDITOR
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
external-editor$ external-editor$ node -e "const edit = require('@inquirer/external-editor'); edit('Initial content').then(result => console.log(result))"$ VISUAL=vim external-editor