CLI tool to output mermaid diagrams of module dependencies for multi-modularized projects in Swift Package Manager.
Ryu0118/[email protected]
$ brew install Ryu0118/dgraph/dgraph
$ brew update
$ brew upgrade Ryu0118/dgraph/dgraph
USAGE: dgraph <project-path> [--add-to-readme] [--include-product]
ARGUMENTS:
<project-path> Project root directory
OPTIONS:
--add-to-readme Add Mermaid diagram to README
--include-product Include .product(name:package:)
-h, --help Show help information.
graph TD;
App-->HogeFeature;
App-->FugaFeature;
App-->LoginFeature;
LoginFeature-->CoreModule;
HogeFeature-->CoreModule;
FugaFeature-->CoreModule;
graph TD;
DependenciesGraph-->DependenciesGraphCore;
DependenciesGraphCoreTests-->DependenciesGraphCore;