---
url: /api/cli-core/types/utils/function-map-commander-options.md
description: api documentation of mapCommanderOptions from @tsed/cli-core
---

## Usage

```typescript
import { mapCommanderOptions } from "@tsed/cli-core";
```

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

## Overview

```ts
function mapCommanderOptions(commandName: string, commands: readonly Command[]): any;
```
