Added support for command enums. Fixes #20

This variant will be much easier to use when the commands you
support don't require any arguments.