table of contents
HUGO-MOD-CLEAN(1) | Hugo Manual | HUGO-MOD-CLEAN(1) |
NAME¶
hugo-mod-clean - Delete the Hugo Module cache for the current project.
SYNOPSIS¶
hugo mod clean [flags]
DESCRIPTION¶
Delete the Hugo Module cache for the current project.
Note that after you run this command, all of your dependencies will be re-downloaded next time you run "hugo".
Also note that if you configure a positive maxAge for the "modules" file cache, it will also be cleaned as part of "hugo --gc".
OPTIONS¶
--all[=false] clean entire module cache
-h, --help[=false] help for clean
--pattern="" pattern matching module paths to clean (all if not set), e.g. "*hugo"
OPTIONS INHERITED FROM PARENT COMMANDS¶
--clock="" set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
--config="" config file (default is hugo.yaml|json|toml)
--configDir="config" config dir
--debug[=false] debug output
-e, --environment="" build environment
--ignoreVendorPaths="" ignores any _vendor for module paths matching the given Glob pattern
--log[=false] enable Logging
--logFile="" log File path (if set, logging enabled automatically)
--quiet[=false] build in quiet mode
-s, --source="" filesystem path to read files relative from
--themesDir="" filesystem path to themes directory
-v, --verbose[=false] verbose output
--verboseLog[=false] verbose logging
SEE ALSO¶
Mar 2023 | Hugo 0.111.3 |