# CliTypeORM Service

Module
import { CliTypeORM } from "@tsed/cli-plugin-typeorm"
Source/packages/cli-plugin-typeorm/src/services/CliTypeORM.ts

# Overview

class CliTypeORM {
    cliExeca: CliExeca;
    projectPackageJson: ProjectPackageJson;
    protected srcRenderer: SrcRendererService;
    run(command: string, args: string[], options?: any): any;
    generateConnection(name: string, options?: any): Promise<void>;
    writeConfig(name: string, database: string): Promise<void>;
    regenerateIndexConfig(): Promise<void>;
}

# Members

cliExeca: CliExeca

projectPackageJson: ProjectPackageJson

protected srcRenderer: SrcRendererService

run(command: string, args: string[], options?: any): any

generateConnection(name: string, options?: any): Promise<void>

writeConfig(name: string, database: string): Promise<void>

regenerateIndexConfig(): Promise<void>