I've written small command line completion to ./translate.py from pypy/translator/goal. Note: works only from that directory (not sure how to make in working in general case) http://codespeak.net/svn/user/fijal/completetranslate.py