﻿---
title: release preview bundle cli command
description: Generate the changelog bundles of everything the preview site shows. 
url: https://docs-v3-preview.elastic.dev/docs-builder/cli/release/preview/bundle
products:
  - Elastic Docs Builder
---

# release preview bundle cli command
```bash
docs-builder release preview bundle [options]
```

Generate the changelog bundles of everything the preview site shows.

## Options

<definitions>
  <definition term="--output-dir string">
    Root directory for bundle output. Defaults to ./bundles. Each product writes to a <product-id>/ subdirectory.
  </definition>
  <definition term="--changelog-configs string">
    Optional directory of prototype <product-id>.changelog.yml files for the DRA products.
  </definition>
  <definition term="--products string[]">
    Limit the DRA products to these (repeatable). All DRA products are bundled by default.
    **Repeatable:** pass `--products` multiple times to supply more than one value
  </definition>
  <definition term="--services string[]">
    Limit the serverless services to these (repeatable): kibana, elasticsearch, frontend-adminconsole. All are bundled by default.
    **Repeatable:** pass `--services` multiple times to supply more than one value
  </definition>
  <definition term="--strict">
    Fail when a DRA product is not onboarded. By default it is skipped with a warning.
    **Default:** `false`
  </definition>
  <definition term="--cache-dir string">
    Directory of the cache that remembers, between runs, which pull request each commit of a range belongs to. Defaults to the application data of docs-builder.
  </definition>
  <definition term="--no-cache">
    Do not read or write the cache of commit ranges.
    **Default:** `false`
  </definition>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>