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

Function CommentableConfirmSubmitSurvey

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

Source from the content-addressed store, hash-verified

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

Callers 1

NewCmdCommentFunction · 0.92

Calls 1

ConfirmMethod · 0.65

Tested by

no test coverage detected