graph¶
Analyze dependency relationships across repositories.
Subcommands¶
| Subcommand | Description |
|---|---|
build |
Build dependency graph |
dependents |
Show modules that depend on a module |
dependencies |
Show dependencies of a module |
order |
Show upgrade order for a module |
stale |
Find stale dependencies |
stats |
Show graph statistics |
visualize |
Generate graph visualization |
build¶
Build the dependency graph from repositories:
dependents¶
Show which modules depend on a given module:
dependencies¶
Show dependencies of a module:
order¶
Show the order to upgrade modules when updating a dependency:
stale¶
Find modules using outdated versions of dependencies:
stats¶
Show statistics about the dependency graph:
Output:
visualize¶
Generate a visual representation of the graph:
# DOT format (Graphviz)
versionconductor graph visualize --orgs myorg --format dot > deps.dot
dot -Tpng deps.dot -o deps.png
# Mermaid format
versionconductor graph visualize --orgs myorg --format mermaid > deps.md
Common Flags¶
| Flag | Description |
|---|---|
--orgs |
Organizations to include |
--repos |
Specific repos |
--language |
Filter by language (go, typescript, etc.) |
--cache |
Enable caching |
--cache-dir |
Cache directory |