MCPcopy Index your code
hub / github.com/cli/cli / MarkdownEditor

Method MarkdownEditor

pkg/cmd/pr/shared/survey.go:41–41  ·  view source on GitHub ↗
(prompt string, defaultValue string, blankAllowed bool)

Source from the content-addressed store, hash-verified

39 Input(prompt string, defaultValue string) (string, error)
40 Select(prompt string, defaultValue string, options []string) (int, error)
41 MarkdownEditor(prompt string, defaultValue string, blankAllowed bool) (string, error)
42 Confirm(prompt string, defaultValue bool) (bool, error)
43 MultiSelect(prompt string, defaults []string, options []string) ([]int, error)
44 MultiSelectWithSearch(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.MultiSelectSearchResult) ([]string, error)

Callers 7

resolveBodyFunction · 0.65
createRunFunction · 0.65
promptEditFunction · 0.65
createRunFunction · 0.65
runMarkdownEditorFunction · 0.65
BodySurveyFunction · 0.65
reviewSurveyFunction · 0.65

Implementers 4

PrompterMockinternal/prompter/prompter_mock.go
huhPrompterinternal/prompter/huh_prompter.go
accessiblePrompterinternal/prompter/prompter.go
surveyPrompterinternal/prompter/prompter.go

Calls

no outgoing calls

Tested by

no test coverage detected