Introduce context-aware autocomplete for interactive TypeDB Console sessions.
What are the changes implemented in this PR?
Fix #172
Make all commands' tokens public so they can be reused when instantiating completer classes
Instantiate a completer using TreeCompleter class from JLine. It's aware of context: where database name is expected, it completes database names; same is true for user names in user delete <username> command.
What is the goal of this PR?
Introduce context-aware autocomplete for interactive TypeDB Console sessions.
What are the changes implemented in this PR?
Fix #172
token
s public so they can be reused when instantiating completer classesTreeCompleter
class from JLine. It's aware of context: where database name is expected, it completes database names; same is true for user names inuser delete <username>
command.