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