If docs/demo.gif is missing, generate it with: vhs docs/demo.tape (from repo root; requires VHS and dcctl on PATH).
Sequence diagrams for main flows (Mermaid format). View in any Markdown viewer that supports Mermaid (e.g. GitHub, VS Code with Mermaid extension, or Mermaid Live).
| Diagram | Description |
|---|---|
| 01-config-and-up | Load config, resolve environment and manifests, run docker compose up |
| 02-down-and-cleanup | Stop services, optional remove containers/volumes (down) |
| 03-manifest-resolution | How dcctl resolves config path, environment, and manifest file paths |
| 04-image | Image ls / pull / remove from current environment manifests |
| 05-show-ports | Extract and list published ports per service (where to connect) |
| 06-manifests | Write sample compose manifest into environment directory |
| 07-volumes | Volumes clean: list (by project or all), select, confirm, remove |
A VHS tape records a short terminal demo of dcctl (help, version, config template).
- VHS:
brew install vhs(or see project install docs) - dcctl binary on
PATH(e.g.make buildthenexport PATH="$PWD:$PATH"from repo root)
From the repository root (so dcctl resolves and paths match):
vhs docs/demo.tapeOutput is written to docs/demo.gif (or the path set by Output in the tape). To produce MP4 instead, change the Output line in demo.tape to e.g. Output docs/demo.mp4 and run again.
- Tape file:
docs/demo.tape - Rendered GIF (default):
docs/demo.gif
If you see a broken prompt in the GIF, run VHS from bash so it does not inherit a complex zsh setup:
bash
vhs docs/demo.tape