Debian Codegraph @

docs/content/en/commands/hugo_mod_graph.md

raw
1 ---
2 title: "hugo mod graph"
3 slug: hugo_mod_graph
4 url: /commands/hugo_mod_graph/
5 ---
6 ## hugo mod graph
7
8 Print a module dependency graph
9
10 ### Synopsis
11
12 Print a module dependency graph with information about module status (disabled, vendored).
13 Note that for vendored modules, that is the version listed and not the one from go.mod.
14
15
16 ```
17 hugo mod graph [flags] [args]
18 ```
19
20 ### Options
21
22 ```
23 -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
24 --cacheDir string filesystem path to cache directory
25 --clean delete module cache for dependencies that fail verification
26 -c, --contentDir string filesystem path to content directory
27 -h, --help help for graph
28 --renderSegments strings named segments to render (configured in the segments config)
29 -t, --theme strings themes to use (located in /themes/THEMENAME/)
30 ```
31
32 ### Options inherited from parent commands
33
34 ```
35 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
36 --config string config file (default is hugo.yaml|json|toml)
37 --configDir string config dir (default "config")
38 -d, --destination string filesystem path to write files to
39 -e, --environment string build environment
40 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
41 --logLevel string log level (debug|info|warn|error)
42 --noBuildLock don't create .hugo_build.lock file
43 --quiet build in quiet mode
44 -M, --renderToMemory render to memory (mostly useful when running the server)
45 -s, --source string filesystem path to read files relative from
46 --themesDir string filesystem path to themes directory
47 ```
48
49 ### SEE ALSO
50
51 * [hugo mod](/commands/hugo_mod/) - Manage modules