bash-style auto completion in command line program. use rlcomplete?

ntwrkd ntwrkd at gmail.com
Sat May 22 14:01:35 EDT 2010


I am trying to create a bash-style auto completion in a simple
command-line and script-based program i created using cmd.
I saw http://docs.python.org/library/rlcompleter.html, which I'm
thinking is the way to go for my program to intercept the tab key.
Would anyone have thoughts on this?

I wish cmd or cmd2 had this functionality built-in.

Thanks in advance.



More information about the Python-list mailing list