---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/code](../index.md) / DownloadOptions

# Interface: DownloadOptions

Defined in: [packages/b2c-tooling-sdk/src/operations/code/download.ts:29](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/code/download.ts#L29)

Options for downloading cartridges.

## Properties

### exclude?

> `optional` **exclude**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/code/download.ts:33](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/code/download.ts#L33)

Cartridge names to exclude

***

### include?

> `optional` **include**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/code/download.ts:31](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/code/download.ts#L31)

Cartridge names to include (if empty/undefined, all are included)

***

### mirror?

> `optional` **mirror**: `Map`\<`string`, `string`\>

Defined in: [packages/b2c-tooling-sdk/src/operations/code/download.ts:35](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/code/download.ts#L35)

When provided, maps cartridge names to local paths for mirror extraction

***

### onProgress()?

> `optional` **onProgress**: (`info`) => `void`

Defined in: [packages/b2c-tooling-sdk/src/operations/code/download.ts:37](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/code/download.ts#L37)

Callback for progress updates. Called when a phase starts (elapsedSeconds=0) and periodically thereafter.

#### Parameters

##### info

[`DownloadProgressInfo`](DownloadProgressInfo.md)

#### Returns

`void`
