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

Method MultiChoice

actions.go:136–139  ·  view source on GitHub ↗
(options []string, text string)

Source from the content-addressed store, hash-verified

134}
135
136func (s *shellActionsImpl) MultiChoice(options []string, text string) int {
137 choice := s.multiChoice(options, text, nil, false)
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}

Callers

nothing calls this directly

Calls 1

multiChoiceMethod · 0.80

Tested by

no test coverage detected