---
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/36eea0d308f1312d1a446ec8813ed30b0bdba62c/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`
