# Inspect stack dependencies

Inspect dependencies between stacks within the given command path. Prints the dependency graph in a [DOT](https://en.wikipedia.org/wiki/DOT_\(graph_description_language\)) format which can be rendered using various tools like [this one](https://dreampuf.github.io/GraphvizOnline/).

## Usage

```bash
tkm stacks inspect dependency-graph [command-path]
```

## Positional arguments

* `command-path`
  * Command path to select which stacks to include.
  * Optional, by default, Takomo lists all stacks.

## Options

In addition to the [common options](https://docs.takomo.io/command-line-usage/common-options), this command has no command-specific options.

## Examples

Inspect dependencies from all stacks:

```
tkm stacks inspect dependency-graph
```

Inspect dependencies within the given command path:

```
tkm stacks inspect dependency-graph /prod
```
