Skip to content

X-R-G-B/DependencyGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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