1HUGO-MOD-CLEAN(1) Hugo Manual HUGO-MOD-CLEAN(1)
2
3
4
6 hugo-mod-clean - Delete the Hugo Module cache for the current project.
7
8
9
11 hugo mod clean [flags]
12
13
14
16 Delete the Hugo Module cache for the current project.
17
18
19 Note that after you run this command, all of your dependencies will be
20 re-downloaded next time you run "hugo".
21
22
23 Also note that if you configure a positive maxAge for the "modules"
24 file cache, it will also be cleaned as part of "hugo --gc".
25
26
27
29 --all[=false] clean entire module cache
30
31
32 -h, --help[=false] help for clean
33
34
35 --pattern="" pattern matching module paths to clean (all if not
36 set), e.g. "*hugo"
37
38
39
41 --clock="" set the clock used by Hugo, e.g. --clock
42 2021-11-06T22:30:00.00+09:00
43
44
45 --config="" config file (default is hugo.yaml|json|toml)
46
47
48 --configDir="config" config dir
49
50
51 --debug[=false] debug output
52
53
54 -e, --environment="" build environment
55
56
57 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
58 ing the given Glob pattern
59
60
61 --log[=false] enable Logging
62
63
64 --logFile="" log File path (if set, logging enabled automatically)
65
66
67 --quiet[=false] build in quiet mode
68
69
70 -s, --source="" filesystem path to read files relative from
71
72
73 --themesDir="" filesystem path to themes directory
74
75
76 -v, --verbose[=false] verbose output
77
78
79 --verboseLog[=false] verbose logging
80
81
82
84 hugo-mod(1)
85
86
87
88Hugo 0.111.3 Jul 2023 HUGO-MOD-CLEAN(1)