neogeographica / chaintool

WIP
GNU General Public License v3.0
0 stars 0 forks source link

add completion hooks for "seq edit" #25

Closed neogeographica closed 3 years ago

neogeographica commented 3 years ago

My reflex is to use Tab to find/complete command names in that interactive edit. Let's make it work!

The Completion section of https://docs.python.org/3/library/readline.html is relevant. Examples of varying complexity:

https://github.com/modelop/hadrian/blob/master/titus/titus/inspector/defs.py https://github.com/gabfl/vault/blob/main/src/modules/autocomplete.py https://github.com/OWASP/QRLJacking/blob/master/QRLJacker/core/utils.py

Basically it looks like: