From: Leandro Lucarella Date: Fri, 28 Sep 2007 21:20:54 +0000 (-0300) Subject: Add help messages and command listing to dispatcher handlers. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/6f9f028c43f77c76a0ac6d4f4f7223e5c6e2ba64?ds=inline;hp=6f9f028c43f77c76a0ac6d4f4f7223e5c6e2ba64 Add help messages and command listing to dispatcher handlers. Now the @handle decorator takes a mandatory help argument to specify a short help string for that handler. A new functions get_help() is added to the dispatcher module to get the help string from a handler. A new base Handler class is provided in dispatcher module to automatically have a 'help' and 'commands' commands available. ---