---
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:127](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/openshell/apply.ts#L127)

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`
