Use cmdargs.

A dummy sub-command is defined so that the way to generate the HTML pages is
already `hadley generate` (instead of only `hadley`).