MCPcopy Index your code
hub / github.com/abiosoft/ishell / Checklist

Method Checklist

actions.go:140–142  ·  view source on GitHub ↗
(options []string, text string, init []int)

Source from the content-addressed store, hash-verified

138 return choice[0]
139}
140func (s *shellActionsImpl) Checklist(options []string, text string, init []int) []int {
141 return s.multiChoice(options, text, init, true)
142}
143func (s *shellActionsImpl) SetPrompt(prompt string) {
144 s.reader.prompt = prompt
145 s.reader.scanner.SetPrompt(s.reader.rlPrompt())

Callers

nothing calls this directly

Calls 1

multiChoiceMethod · 0.80

Tested by

no test coverage detected