X-R-G-B / DependencyGraph

Transform code imports to d2 dependency graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DependencyGraph

Get d2 config file from source code imports

Install

Binary (precompiled)

Go to the latest release and download the binary for your platform

Build (from source)

  • Linux/Macos
./scripts/installDeps.sh
./deps/v-master/v run ./scripts/build.vsh
./dg --help
  • Windows
.\scripts\installDeps.ps1
.\deps\v-master\v run .\scripts\build.vsh
.\dg --help

Usage

dg --help
./dg 0.0.0
-----------------------------------------------
Usage: ./dg [options] [FOLDERS]

Description: output d2 dependency graph

Options:
  -l, --language <string>   Language to use for the folders
  -o, --output <string>     Output file
  -h, --help                display this help and exit

About

Transform code imports to d2 dependency graph


Languages

Language:V 83.9%Language:Shell 10.2%Language:PowerShell 6.0%