hugo_mod_tidy.md (1268B)
1 ---
2 title: "hugo mod tidy"
3 slug: hugo_mod_tidy
4 url: /commands/hugo_mod_tidy/
5 ---
6 ## hugo mod tidy
7
8 Remove unused entries in go.mod and go.sum.
9
10 ```
11 hugo mod tidy [flags]
12 ```
13
14 ### Options
15
16 ```
17 -h, --help help for tidy
18 ```
19
20 ### Options inherited from parent commands
21
22 ```
23 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
24 --config string config file (default is path/config.yaml|json|toml)
25 --configDir string config dir (default "config")
26 --debug debug output
27 -e, --environment string build environment
28 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
29 --log enable Logging
30 --logFile string log File path (if set, logging enabled automatically)
31 --quiet build in quiet mode
32 -s, --source string filesystem path to read files relative from
33 --themesDir string filesystem path to themes directory
34 -v, --verbose verbose output
35 --verboseLog verbose logging
36 ```
37
38 ### SEE ALSO
39
40 * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
41