I have a Cmd console set up to auto-complete card names for a Magic: the Gathering collection management system.
It uses the text parameter to query the database for car
You could do readline.set_completer_delims('').
readline.set_completer_delims('')
However, your complete_* functions won't be called anymore; you will have to override Cmd.complete or Cmd.completenames. Look at the sourcecode of the cmd module for details.
complete_*
Cmd.complete
Cmd.completenames
cmd