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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [openshell](../index.md) / formatOpenShellScript

# Function: formatOpenShellScript()

> **formatOpenShellScript**(`setup`, `files`, `image`): `string`

Defined in: [packages/b2c-tooling-sdk/src/openshell/apply.ts:148](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/openshell/apply.ts#L148)

Renders the shell commands that create the sandbox from scratch. Written
next to the generated files so the setup can be reviewed or run by hand.

## Parameters

### setup

[`OpenShellSetup`](../interfaces/OpenShellSetup.md)

### files

[`OpenShellFiles`](../interfaces/OpenShellFiles.md)

### image

`string`

## Returns

`string`
