# atmos vendor config format

Format the root vendor manifest and any imported vendor manifest files in place,
preserving comments, anchors, YAML functions, and templates. There is no flat alias for
`format` — use this command directly.

## Usage

```shell
atmos vendor config format [--file <manifest>]
```

The `fmt` alias is also accepted.

## Examples

```shell
atmos vendor config format
atmos vendor config format --file ./vendor.yaml
```

## Flags

- **`--file` (string, default `./vendor.yaml`)** — The vendor manifest file to format (along with any manifests it imports).

## Try it out

### demo-vendoring

Copy the example into a new directory and make it your own:

```shell
atmos init examples/demo-vendoring
cd demo-vendoring
```

Format your local vendor manifest in place while preserving its comments and templates. This works offline.

```shell
atmos vendor config format
```

- [Installation guide](/install)
- [Explore the example](/examples/demo-vendoring)
- [Initialization and repository settings](/cli/commands/init#examples-and-source-directories)
