Adding more potential hooks to the commandline_interpreter::cmd class