Add `build` sub-command.

The `build` sub-command simply combines the `clone` and `generate` sub-command.