#NEWLINE# def _command( name , description = None ) : #NEWLINE# #INDENT# "Decorate a function used to call a command.\n\n    If you don't set *description*, it won't be included in help\n    (useful for deprecated commands)." #NEWLINE# def decorator( f ) : #NEWLINE# #INDENT# commands [ name ] = f #NEWLINE# if description : #NEWLINE# #INDENT# descriptions [ name ] = description #NEWLINE# #UNINDENT# return f #NEWLINE# #UNINDENT# return name