How can I do completions of “key=value” format in Python Prompt Toolkit?
I am writing an interactive command line Python program. The command lines that the user enters are auto-completed with Python Prompt Toolkit, and are parsed with argparse. There are multiple commands, each one with different syntax and completions. To do this, I have a nested completer at the top level that is built by different “handler” classes.