Should use decorators for creating commands.
Decorators should at least accept help text and command name as parameters.
This will ease the creation of new commands, as you just will have to create your new command, instead of having to create the command, add to commands dictionary, add to help dictionary etc.
Should use decorators for creating commands. Decorators should at least accept help text and command name as parameters. This will ease the creation of new commands, as you just will have to create your new command, instead of having to create the command, add to commands dictionary, add to help dictionary etc.