1HUGO-MOD-TIDY(1) Hugo Manual HUGO-MOD-TIDY(1)
2
3
4
6 hugo-mod-tidy - Remove unused entries in go.mod and go.sum.
7
8
9
11 hugo mod tidy [flags]
12
13
14
16 Remove unused entries in go.mod and go.sum.
17
18
19
21 -h, --help[=false] help for tidy
22
23
24
26 --config="" config file (default is path/config.yaml|json|toml)
27
28
29 --configDir="config" config dir
30
31
32 --debug[=false] debug output
33
34
35 -e, --environment="" build environment
36
37
38 --ignoreVendor[=false] ignores any _vendor directory
39
40
41 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
42 ing the given Glob pattern
43
44
45 --log[=false] enable Logging
46
47
48 --logFile="" log File path (if set, logging enabled automatically)
49
50
51 --quiet[=false] build in quiet mode
52
53
54 -s, --source="" filesystem path to read files relative from
55
56
57 --themesDir="" filesystem path to themes directory
58
59
60 -v, --verbose[=false] verbose output
61
62
63 --verboseLog[=false] verbose logging
64
65
66
68 hugo-mod(1)
69
70
71
72Hugo 0.80.0 Jan 2021 HUGO-MOD-TIDY(1)