﻿---
title: Command line interface
description: docs-builder is the binary used to invoke various commands. These commands can be roughly grouped into four main categories Documentation Set commands,...
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/cli
---

# Command line interface
`docs-builder` is the binary used to invoke various commands.
These commands can be roughly grouped into four main categories
- [Documentation Set commands](#documentation-set-commands)
- [Link commands](#link-commands)
- [Assembler commands](#assembler-commands)
- [Changelog commands](#changelog-commands)


### Global options

The following options are available for all commands:
<definitions>
  <definition term="--log-level <level>">
    Change the log level one of ( `trace`, `debug`, `info`, `warn`, `error`, `critical`). Defaults to `info`
  </definition>
  <definition term="--config-source or -c">
    Explicitly set the configuration source one of `local`, `remote` or `embedded`. Defaults to `local` if available
    other wise `embedded`
  </definition>
</definitions>


## Documentation set commands

Commands that operate over a single documentation set.
A `Documentation Set` is defined as a folder containing a [docset.yml](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/configure/content-set) file.
These commands are typically what you interface with when you are working on the documentation of a single repository locally.
[See available CLI commands for documentation sets](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/cli/docset)

## Link commands

Outbound links, those going from the documentation set to other sources, are validated as part of the build process.
Inbound links, those going from other sources to the documentation set, are validated using specialized commands.
[See available CLI commands for inbound links](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/cli/links)

## Assembler commands

Assembler builds bring together all isolated documentation set builds and turn them into the overall documentation that gets published.
[See available CLI commands for assembler](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/cli/assembler)

## Changelog commands

Commands that pertain to creating and publishing product release documentation.
[See available CLI commands for release docs](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2667/cli/release)