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

Function CommentableConfirmSubmitSurvey

pkg/cmd/pr/shared/commentable.go:410–414  ·  view source on GitHub ↗
(p Prompt)

Source from the content-addressed store, hash-verified

408}
409
410func CommentableConfirmSubmitSurvey(p Prompt) func() (bool, error) {
411 return func() (bool, error) {
412 return p.Confirm("Submit?", true)
413 }
414}
415
416func CommentableInteractiveEditSurvey(cf func() (gh.Config, error), io *iostreams.IOStreams) func(string) (string, error) {
417 return func(initialValue string) (string, error) {

Callers 1

NewCmdCommentFunction · 0.92

Calls 1

ConfirmMethod · 0.65

Tested by

no test coverage detected