hugo-mod-clean man page

hugo-mod-clean ā€” Delete the Hugo Module cache for the current project.

Hugo 0.65.3 Hugo Manual

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

-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

--config="" config file (default is path/config.yaml|json|toml)

--configDir="config" config dir

--debug[=false] debug output

-e, --environment="" build environment

--ignoreVendor[=false] ignores any _vendor directory

--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

hugo-mod(1)

Referenced By

hugo-mod(1).