MCPcopy
hub / github.com/cli/cli / MockSurveyPrompter

Struct MockSurveyPrompter

pkg/cmd/codespace/create_test.go:707–709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707type MockSurveyPrompter struct {
708 AskFunc func(qs []*survey.Question, response interface{}) error
709}
710
711func (m *MockSurveyPrompter) Ask(qs []*survey.Question, response interface{}) error {
712 return m.AskFunc(qs, response)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected