systemd-ask-password like password prompt for go
pw, err := AskPassword.AskPassword("Password: ")
if err != nil {
log.Fatal(err)
}
fmt.Println(pw)
also in demo/password.go and demo/substitute.go
This project is mostly based around mattn's go-tty.
systemd-ask-password like password prompt for go
pw, err := AskPassword.AskPassword("Password: ")
if err != nil {
log.Fatal(err)
}
fmt.Println(pw)
also in demo/password.go and demo/substitute.go