]> git.cworth.org Git - turbot/commit
Add a dispatch table to turbot.commands
authorCarl Worth <cworth@cworth.org>
Tue, 13 Oct 2020 23:35:37 +0000 (16:35 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 13 Oct 2020 23:38:36 +0000 (16:38 -0700)
commit7bb350e410b3a2c98c3fb7daadb8fb83583cbdea
treeb0cdb789d9136f6181177b3ddfdb33fb4bf98209
parent28d6e1ed4387e7c44dee866191d3c50d9b962861
Add a dispatch table to turbot.commands

This allows the turbot/commands.py file to be self-sufficient, in the
sense that adding a new command will not require changing any of the
dispatch code above in turbot_lambda.py, but instead just the local
dispatch table.
turbot/commands.py
turbot_lambda/turbot_lambda.py