> For the complete documentation index, see [llms.txt](https://boomi.markusschmidt.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://boomi.markusschmidt.pro/boomi-console/commands/code-sql-and-scripts/code-pull.md).

# CODE PULL

```bash
bc CODE PULL
```

Pulls all Scripts and SQL Statements from your current account into your workspace `Code` directory, while maintaining the folder structure.

<div align="left"><figure><img src="/files/ym0g0rnRB4w0AGSeRkRG" alt="" width="264"><figcaption></figcaption></figure></div>

### Optional Parameters

<details>

<summary>/ComponentId, /c</summary>

Pull one or more specified component only.

</details>

<details>

<summary>/CodeDirectory, /wd /cd /d /out</summary>

Default: `Code`

Specify the folder where to put the code. The directory is relative to the current Workspace, or absolute.

</details>

<details>

<summary>/Folders, /f /base</summary>

Specify one or more Boomi folder names - semicolon separated list, from where to pull the code. The folder comparison is: full folder path starts with "specified folder". If you specify `/f Com` a ***Com**mon* folder is considered as well as a **Com**pany folder. Subfolders are always included.

The Full Folder Path is compared! If you have a folder, like: `script\98 - Sandbox` you should specify the path from the beginning `/f "script\98 - Sandbox"` - incl. quotes because of whitespaces.   &#x20;

</details>
