solnic/dm-session — comment on commit cbebe60daf08f9b658b9c5f65c4ed76f56a943d2
File:  line 0
By dkubb:

@solnic I was thinking that perhaps each distinct command should be it's own class, instead of having a command name.

I also think that we'll probably end up having the command subclass have the logic required to perform the action, rather than passing in a "callable" object in. It only really make sense to allow a block in cases where the logic is going to vary tremendously.