Add implementation of CLI and task definitions.

Currently supports boolean and string options, but support for any other
types that commander supports would be trivial to add.