---
url: /api/cli/types/pipes/class-output-file-path-pipe.md
description: api documentation of OutputFilePathPipe from @tsed/cli
---

## Usage

```typescript
import { OutputFilePathPipe } from "@tsed/cli";
```

> See [/packages/cli/src/pipes/OutputFilePathPipe.ts](https://github.com/tsedio/tsed-cli/blob/v7.8.1/packages/cli/src/pipes/OutputFilePathPipe.ts#L0-L0).

## Overview

```ts
class OutputFilePathPipe {
    protected templatesService: CliTemplatesService;
    protected projectPackageJson: ProjectPackageJson;
    protected classNamePipe: SymbolNamePipe;
    transform(options: {
        name: string;
        type: string;
        subDir?: string;
        baseDir?: string;
        format?: ProjectConvention;
    }): string;
    getServerName(): string;
    getIndexControllerName(): string;
}
```

## protected templatesService

```ts
protected templatesService: CliTemplatesService;
```

## protected projectPackageJson

```ts
protected projectPackageJson: ProjectPackageJson;
```

## protected classNamePipe

```ts
protected classNamePipe: SymbolNamePipe;
```

## transform

```ts
transform(options: {
     name: string;
     type: string;
     subDir?: string;
     baseDir?: string;
     format?: ProjectConvention;
 }): string;
```

## getServerName

```ts
getServerName(): string;
```

## getIndexControllerName

```ts
getIndexControllerName(): string;
```
