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

Struct UserEditor

pkg/cmd/pr/shared/survey.go:393–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393type UserEditor struct {
394 IO *iostreams.IOStreams
395 Config func() (gh.Config, error)
396}
397
398func (e *UserEditor) Edit(filename, initialValue string) (string, error) {
399 editorCommand, err := cmdutil.DetermineEditor(e.Config)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected