MCPcopy
hub / github.com/c-bata/go-prompt / main

Function main

_example/live-prefix/main.go:39–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func main() {
40 p := prompt.New(
41 executor,
42 completer,
43 prompt.OptionPrefix(">>> "),
44 prompt.OptionLivePrefix(changeLivePrefix),
45 prompt.OptionTitle("live-prefix-example"),
46 )
47 p.Run()
48}

Callers

nothing calls this directly

Calls 1

RunMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…