﻿---
title: assembler clone
description: Clones all repositories. Defaults to $(pwd)/.artifacts/checkouts/{content_source}. The content_source is the content_source of the --environment option...
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/cli/assembler/assembler-clone
---

# assembler clone
Clones all repositories. Defaults to `$(pwd)/.artifacts/checkouts/{content_source}`.
The `content_source` is the `content_source` of the `--environment` option as configured in `assembly.yaml`

## Usage

```
docs-builder assembler clone [options...] [-h|--help] [--version]
```


## Options

<definitions>
  <definition term="--strict <bool?>">
    Treat warnings as errors and fail the build on warnings (optional)
  </definition>
  <definition term="--environment <string>">
    The environment to build (optional)
  </definition>
  <definition term="--fetch-latest <bool?>">
    If true, fetch the latest commit of the branch instead of the link registry entry ref (optional)
  </definition>
  <definition term="--assume-cloned <bool?>">
    If true, assume the repository folder already exists on disk assume it's cloned already, primarily used for testing (optional)
  </definition>
</definitions>