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

Method InputHostname

internal/prompter/test.go:77–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (m *MockPrompter) InputHostname() (string, error) {
78 var s inputHostnameStub
79 if len(m.inputHostnameStubs) == 0 {
80 return "", NoSuchPromptErr("InputHostname")
81 }
82 s = m.inputHostnameStubs[0]
83 m.inputHostnameStubs = m.inputHostnameStubs[1:len(m.inputHostnameStubs)]
84 return s.fn()
85}
86
87func (m *MockPrompter) MarkdownEditor(prompt, defaultValue string, blankAllowed bool) (string, error) {
88 var s markdownEditorStub

Callers

nothing calls this directly

Calls 1

NoSuchPromptErrFunction · 0.85

Tested by

no test coverage detected