It looks nicer with confirmation and also checks the user actually has an $EDITOR.
types.Script
Command
None
stdout
stderr