Run an external editor and gets the inputs string like a behavior of 'git -commit'.
Create and delete a temporary file for passing the inputs string.
import (
"fmt"
"github.com/kotaoue/go-eeditor"
)
func main() {
editor := eeditor.NewEditor()
b, _ := editor.Open()
fmt.Println(string(b))
}
editor := eeditor.NewEditor(eeditor.Command("emacs"))
editor := eeditor.NewEditor(eeditor.Path("./temporary"))