MCPcopy
hub / github.com/cli/cli / run

Method run

internal/prompter/huh_prompter_test.go:33–40  ·  view source on GitHub ↗
(t *testing.T, w *io.PipeWriter)

Source from the content-addressed store, hash-verified

31}
32
33func (ix interaction) run(t *testing.T, w *io.PipeWriter) {
34 t.Helper()
35 for _, s := range ix.steps {
36 time.Sleep(s.delay)
37 _, err := w.Write(s.bytes)
38 require.NoError(t, err)
39 }
40}
41
42// Step helpers — each returns a single interactionStep.
43//

Callers 1

runFormFunction · 0.80

Calls 2

HelperMethod · 0.65
WriteMethod · 0.65

Tested by

no test coverage detected