nolint:unused
()
| 284 | |
| 285 | // nolint:unused |
| 286 | func passwordHelper() { |
| 287 | cmd := &serpent.Command{ |
| 288 | Handler: func(inv *serpent.Invocation) error { |
| 289 | cliui.Prompt(inv, cliui.PromptOptions{ |
| 290 | Text: "Password:", |
| 291 | Secret: true, |
| 292 | }) |
| 293 | return nil |
| 294 | }, |
| 295 | } |
| 296 | err := cmd.Invoke().WithOS().Run() |
| 297 | if err != nil { |
| 298 | panic(err) |
| 299 | } |
| 300 | } |
no test coverage detected