Type interface added to cli/cli_generate.go