[−][src]Module cmdtree::completion
Completion of tree paths and action arguments.
Completion is done functionally, see examples on github for how to implement.
Structs
ActionMatch | Match string and qualified name of action. |
Completion | Represents a single possible completion |
Interface | The main interface to input reading and other terminal operations |
Prompter | Provides access to the current state of input while a |
Enums
ReadResult | Returned from |
Traits
Completer | Performs completion for |
Terminal | Defines a low-level interface to the terminal |
Functions
create_action_completion_items | Constructs a set of space delimited actions that could be completed at the current path. |
create_tree_completion_items | Constructs a set of space delimited items that could be completed at the current path. |
tree_completions | Determines from a set of items the ones that could be completed from the given line. |
word_break_start | Returns the start position of the last word, delimited by any character. |