MCPcopy Create free account
hub / github.com/github/gh-aw / ensureNonTTYScanner

Method ensureNonTTYScanner

pkg/cli/interactive.go:56–61  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

54}
55
56func (b *InteractiveWorkflowBuilder) ensureNonTTYScanner(r io.Reader) *bufio.Scanner {
57 if b.nonTTYScanner == nil {
58 b.nonTTYScanner = bufio.NewScanner(r)
59 }
60 return b.nonTTYScanner
61}
62
63// CreateWorkflowInteractively prompts the user to build a workflow interactively
64func CreateWorkflowInteractively(ctx context.Context, workflowName string, verbose bool, force bool) error {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected