hugo_gen_man.md (1551B)
1 ---
2 title: "hugo gen man"
3 slug: hugo_gen_man
4 url: /commands/hugo_gen_man/
5 ---
6 ## hugo gen man
7
8 Generate man pages for the Hugo CLI
9
10 ### Synopsis
11
12 This command automatically generates up-to-date man pages of Hugo's
13 command-line interface. By default, it creates the man page files
14 in the "man" directory under the current directory.
15
16 ```
17 hugo gen man [flags]
18 ```
19
20 ### Options
21
22 ```
23 --dir string the directory to write the man pages. (default "man/")
24 -h, --help help for man
25 ```
26
27 ### Options inherited from parent commands
28
29 ```
30 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
31 --config string config file (default is path/config.yaml|json|toml)
32 --configDir string config dir (default "config")
33 --debug debug output
34 -e, --environment string build environment
35 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
36 --log enable Logging
37 --logFile string log File path (if set, logging enabled automatically)
38 --quiet build in quiet mode
39 -s, --source string filesystem path to read files relative from
40 --themesDir string filesystem path to themes directory
41 -v, --verbose verbose output
42 --verboseLog verbose logging
43 ```
44
45 ### SEE ALSO
46
47 * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
48