Merge pull request #38 from ben-ng/fixcli

Fix cli not allowing generate