Looking for a Python CLI module

When I say "Command Line Interface" I mean the wrapper that allows you to type "commands" and have then correspond to pre-programmed actions... all the while making sure that it looks like you are INSIDE a shell of sorts.

I had good hope for "common.cli" but that didnt last long, when I found out that the "Bothans Monitoring System Project" that it was made for stopped updating back in 2005. Plus all the source links are dead... boo:(

Any other suggestions?

Ok, maybe I will answer my own question. It looks like the "common.cli" is really just extending the Cmd class that is standard with Python.

Still... if anybody has any input on "the right way" to implement ones own CLI, that would still be great.