.nh .TH "HUGO-MOD-GRAPH" "1" "Mar 2024" "Hugo 0.124.1" "Hugo Manual" .SH NAME .PP hugo-mod-graph - Print a module dependency graph. .SH SYNOPSIS .PP \fBhugo mod graph [flags] [args]\fP .SH DESCRIPTION .PP Print a module dependency graph with information about module status (disabled, vendored). Note that for vendored modules, that is the version listed and not the one from go.mod. .SH OPTIONS .PP \fB-b\fP, \fB--baseURL\fP="" hostname (and path) to the root, e.g. https://spf13.com/ .PP \fB--cacheDir\fP="" filesystem path to cache directory .PP \fB--clean\fP[=false] delete module cache for dependencies that fail verification .PP \fB-c\fP, \fB--contentDir\fP="" filesystem path to content directory .PP \fB-h\fP, \fB--help\fP[=false] help for graph .PP \fB--renderSegments\fP=[] named segments to render (configured in the segments config) .PP \fB-t\fP, \fB--theme\fP=[] themes to use (located in /themes/THEMENAME/) .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--clock\fP="" set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 .PP \fB--config\fP="" config file (default is hugo.yaml|json|toml) .PP \fB--configDir\fP="config" config dir .PP \fB--debug\fP[=false] debug output .PP \fB-d\fP, \fB--destination\fP="" filesystem path to write files to .PP \fB-e\fP, \fB--environment\fP="" build environment .PP \fB--ignoreVendorPaths\fP="" ignores any _vendor for module paths matching the given Glob pattern .PP \fB--logLevel\fP="" log level (debug|info|warn|error) .PP \fB--quiet\fP[=false] build in quiet mode .PP \fB--renderToMemory\fP[=false] render to memory (mostly useful when running the server) .PP \fB-s\fP, \fB--source\fP="" filesystem path to read files relative from .PP \fB--themesDir\fP="" filesystem path to themes directory .PP \fB-v\fP, \fB--verbose\fP[=false] verbose output .SH SEE ALSO .PP \fBhugo-mod(1)\fP