hugo-gen-man - Man Page

Generate man pages for the Hugo CLI


hugo gen man [flags]


This command automatically generates up-to-date man pages of Hugo's command-line interface.  By default, it creates the man page files in the "man" directory under the current directory.


--dir="man/" the directory to write the man pages.

-h, --help[=false] help for man

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

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


Referenced By


Jan 2021 Hugo 0.80.0 Hugo Manual