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

## Usage

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

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

## Overview

```ts
function mapCommanderArgs(args: {
    [arg: string]: CommandArg;
}, commandArgs: any[]): any;
```

## \[arg: string]

```ts
[arg: string]: CommandArg;
```
