MCPcopy Create free account
hub / github.com/go-task/task / Prompter

Struct Prompter

internal/input/input.go:25–29  ·  view source on GitHub ↗

Prompter handles interactive variable prompting

Source from the content-addressed store, hash-verified

23
24// Prompter handles interactive variable prompting
25type Prompter struct {
26 Stdin io.Reader
27 Stdout io.Writer
28 Stderr io.Writer
29}
30
31// Text prompts the user for a text value
32func (p *Prompter) Text(varName string) (string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected