1HUGO-MOD-CLEAN(1)                 Hugo Manual                HUGO-MOD-CLEAN(1)
2
3
4

NAME

6       hugo-mod-clean - Delete the Hugo Module cache for the current project.
7
8
9

SYNOPSIS

11       hugo mod clean [flags]
12
13
14

DESCRIPTION

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

OPTIONS

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

OPTIONS INHERITED FROM PARENT COMMANDS

41       --config=""      config file (default is path/config.yaml|json|toml)
42
43
44       --configDir="config"      config dir
45
46
47       --debug[=false]      debug output
48
49
50       -e, --environment=""      build environment
51
52
53       --ignoreVendor[=false]      ignores any _vendor directory
54
55
56       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
57       ing the given Glob pattern
58
59
60       --log[=false]      enable Logging
61
62
63       --logFile=""      log File path (if set, logging enabled automatically)
64
65
66       --quiet[=false]      build in quiet mode
67
68
69       -s, --source=""      filesystem path to read files relative from
70
71
72       --themesDir=""      filesystem path to themes directory
73
74
75       -v, --verbose[=false]      verbose output
76
77
78       --verboseLog[=false]      verbose logging
79
80
81

SEE ALSO

83       hugo-mod(1)
84
85
86
87Hugo 0.80.0                        Jan 2021                  HUGO-MOD-CLEAN(1)
Impressum