Fix incorrect usages of Thor in generate command/subcommands.
Add list command with several subcommands.