CustomCompleter allows use of custom implementation of readline.Autocompleter.
(completer readline.AutoCompleter)
| 370 | |
| 371 | // CustomCompleter allows use of custom implementation of readline.Autocompleter. |
| 372 | func (s *Shell) CustomCompleter(completer readline.AutoCompleter) { |
| 373 | s.customCompleter = true |
| 374 | s.setCompleter(completer) |
| 375 | } |
| 376 | |
| 377 | // AddCmd adds a new command handler. |
| 378 | // This only adds top level commands. |
nothing calls this directly
no test coverage detected