GOPHIAN-ES...TE-GRAPHVIZ(1)
π GOPHIAN-ESTIMATE-GRAPHVIZ π
okay bestie, gather round, because this one is literally the cutest little tree-maker in the whole gophian family π it lives in the General Commands Manual section (section 1, for the uninitiated) and its whole entire job is: draw you a picture of your Go package's dependency drama.
β¨ NAME β¨
gophian-estimate-graphviz β visualize the dependency tree of a given Go package π³
πΈ SYNOPSIS πΈ
gophian estimate-graphviz <IMPORTPATH> [SOURCE_OUTPUT] [OPTIONS]
π¦ DESCRIPTION π¦
okay so first thing, and I need you to hear me on this: this subcommand is only available when python3-graphviz is installed π
no graphviz, no vibes, no tree. that's the rule.
When it is installed though?? iconic. This subcommand recursively finds all the dependencies of a given package and checks if they're packaged in Debian, and then it produces a dependency tree using Graphviz that shows you which dependencies are available as Debian packages and which ones are not. π«Ά
Why do you care? Because for large or complex dependency graphs, a Graphviz tree is so much better depicted than any flat list β it's giving main character energy for real, the graph just shows you the shape of your problems instead of making you squint at text. π
So here's the deal on the output: a source Graphviz file gets written to SOURCE_OUTPUT, and β unless you pass --no-render β a rendered PDF gets written in the same directory as the source file, with the same basename, but with the .pdf output. so like, same name, different outfit. periodt. π
π ARGUMENTS π
IMPORTPATHβ the import path of the Go package you're estimating. this is the whole point of the thing, bestie, you gotta give it a package.SOURCE_OUTPUTβ output path of the source Graphviz code. by default, this is the Debianized version of the import path, e.g.golang-github-dsnet-compress.gv. so you don't even have to name it if you don't want to, it'll just do it for you. β¨
π OPTIONS π
--[no-]quietβ don't print warnings. π€«--[no-]openβ view rendered output in the most suitable application. (default: on)--[no-]renderβ render the graph using Graphviz. (default: on)--[no-]warn-packagedβ warn if the given Go package has already been packaged for Debian. (default: on)--[no-]include-packaged-depsβ include packaged dependencies in the estimate. (default: on)--[no-]include-version-conflictsβ include any version conflicts between the package'sgo.modand the version in Debian unstable. Ignored if--no-include-packaged-depsis passed. (default: on)--max-depth <INT>β maximum recursion depth of unpackaged dependencies. π--helpβ show help message and exit. π«‘
ngl the--[no-]thing is doing a lot of work here β every one of those toggles has ano-twin, so you can flip any of them off whenever the vibe check fails. and yes,--no-include-packaged-depsstraight up overrides--include-version-conflicts, don't fight it, that's just how it is. π
π SEE ALSO π
and that's the whole page, babe π this was GOPHIAN-ES...TE-GRAPHVIZ(1), from the General Commands Manual, dated 2025-12-25 β happy graphing, go make a beautiful tree, you've got this π§β¨π
π¦ where this page comes from
- ubuntu resolute: gophian 0.7.0-1 Β· GPL-3.0-or-later
- ubuntu stonking: gophian 0.7.0-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms