(s string)
| 98 | } |
| 99 | |
| 100 | func getPassword(s string) (p string) { |
| 101 | fmt.Print(s) |
| 102 | bytePassword, _ := terminal.ReadPassword(0) |
| 103 | p = strings.TrimSpace(string(bytePassword)) |
| 104 | fmt.Println("") |
| 105 | return |
| 106 | } |
| 107 | |
| 108 | func actionStart(c *cli.Context) (err error) { |
| 109 | password := "" |
no outgoing calls
no test coverage detected