hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

hugo_mod_clean.md (1755B)

    1 ---
    2 title: "hugo mod clean"
    3 slug: hugo_mod_clean
    4 url: /commands/hugo_mod_clean/
    5 ---
    6 ## hugo mod clean
    7 
    8 Delete the Hugo Module cache for the current project.
    9 
   10 ### Synopsis
   11 
   12 Delete the Hugo Module cache for the current project.
   13 
   14 Note that after you run this command, all of your dependencies will be re-downloaded next time you run "hugo".
   15 
   16 Also note that if you configure a positive maxAge for the "modules" file cache, it will also be cleaned as part of "hugo --gc".
   17  
   18 
   19 
   20 ```
   21 hugo mod clean [flags]
   22 ```
   23 
   24 ### Options
   25 
   26 ```
   27       --all              clean entire module cache
   28   -h, --help             help for clean
   29       --pattern string   pattern matching module paths to clean (all if not set), e.g. "**hugo*"
   30 ```
   31 
   32 ### Options inherited from parent commands
   33 
   34 ```
   35       --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
   36       --config string              config file (default is path/config.yaml|json|toml)
   37       --configDir string           config dir (default "config")
   38       --debug                      debug output
   39   -e, --environment string         build environment
   40       --ignoreVendorPaths string   ignores any _vendor for module paths matching the given Glob pattern
   41       --log                        enable Logging
   42       --logFile string             log File path (if set, logging enabled automatically)
   43       --quiet                      build in quiet mode
   44   -s, --source string              filesystem path to read files relative from
   45       --themesDir string           filesystem path to themes directory
   46   -v, --verbose                    verbose output
   47       --verboseLog                 verbose logging
   48 ```
   49 
   50 ### SEE ALSO
   51 
   52 * [hugo mod](/commands/hugo_mod/)	 - Various Hugo Modules helpers.
   53