Add generic `generate` command