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       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
54       ing the given Glob pattern
55
56
57       --log[=false]      enable Logging
58
59
60       --logFile=""      log File path (if set, logging enabled automatically)
61
62
63       --quiet[=false]      build in quiet mode
64
65
66       -s, --source=""      filesystem path to read files relative from
67
68
69       --themesDir=""      filesystem path to themes directory
70
71
72       -v, --verbose[=false]      verbose output
73
74
75       --verboseLog[=false]      verbose logging
76
77
78

SEE ALSO

80       hugo-mod(1)
81
82
83
84Hugo 0.98.0                        Jul 2022                  HUGO-MOD-CLEAN(1)
Impressum