How to categorize a dynamic command created via
setattr(CommandsInLoop, 'do_{}'.format(command), functools.partialmethod(CommandsInLoop.send_text, text=command))
in dynamic example
running categorize function from cmd2 dont work since i guess it was not mean to be used this way.
Any other alternative way. There seems to be nothing in documentation.