MCPcopy Create free account
hub / github.com/cli/cli / MockSurveyPrompter

Struct MockSurveyPrompter

pkg/cmd/codespace/create_test.go:712–714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712type MockSurveyPrompter struct {
713 AskFunc func(qs []*survey.Question, response interface{}) error
714}
715
716func (m *MockSurveyPrompter) Ask(qs []*survey.Question, response interface{}) error {
717 return m.AskFunc(qs, response)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected