Quick Start

Table of contents

  1. Validate Config
  2. Merge Configs
  3. Generate Graph

Validate Config

YAMLtecture --configIn=./tests/simple/config.yaml --validateConfig

Merge Configs

YAMLtecture --in=./tests/complex/configs/ --mergeConfig

Generate Graph

YAMLtecture --configIn=./tests/simple/config.yaml --generateMermaid

Rendering a graph with mermaid can be done on the CLI with mermaid-cli.

By piping these together, you can generate and open a graph in a single command:

rm -f out.png && YAMLtecture -file=./tests/complex/config.yaml -graph | mmdc -i - -o ./out.png && open ./out.png