Skip to content

A very quick and dirty tool to generate graphviz diagrams from Swift Package Manager packages.

License

Notifications You must be signed in to change notification settings

schwa/spm_to_graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPM_TO_GRAPH

A very quick and dirty tool to generate graphviz diagrams from Swift Package Manager packages.

Install

cargo install --git https://github.com/schwa/spm_to_graph

graphviz must be installed on your system.

Build

brew install graphviz

Usage

Usage: spm_to_graph [OPTIONS] [INPUT] [OUTPUT]

Arguments:
  [INPUT]   Optional name to operate on
  [OUTPUT]

Options:
      --skip-test-targets
      --skip-product-dependencies
  -h, --help                       Print help
  -V, --version                    Print version
spm_to_graph <path-to-package> <output-file>

Output files can either be .dot, .svg or .png.

About

A very quick and dirty tool to generate graphviz diagrams from Swift Package Manager packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages