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

Struct UserEditor

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

Source from the content-addressed store, hash-verified

396}
397
398type UserEditor struct {
399 IO *iostreams.IOStreams
400 Config func() (gh.Config, error)
401}
402
403func (e *UserEditor) Edit(filename, initialValue string) (string, error) {
404 editorCommand, err := cmdutil.DetermineEditor(e.Config)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected