CommandCompleter#
- class FIREQ_PLOTTER.plotter.CommandCompleter(*args: Any, **kwargs: Any)[source]#
Bases:
CompleterComplete commands and command-specific arguments.
- get_completions(document: prompt_toolkit.document.Document, complete_event: prompt_toolkit.completion.CompleteEvent) Iterable[prompt_toolkit.completion.Completion][source]#
Yield completions for the command or for the argument being typed.
- Parameters:
document (Document) – the current prompt document.
complete_event (CompleteEvent) – the completion event.
- Returns:
the completion suggestions.
- Return type:
Iterable[Completion]