HUGO-GEN-MAN(1)

πŸ’– NAME πŸ’–

okay bestie, welcome to HUGO-GEN-MAN(1) from the Hugo Manual β€” this is the command that generates man pages for the Hugo CLI, and it is literally serving utility ✨. The command itself is hugo-gen-man.

πŸ¦‹ SYNOPSIS πŸ¦‹

hugo gen man [flags] [args]

πŸŽ€ DESCRIPTION πŸŽ€

So this command automatically generates up-to-date man pages of Hugo's command-line interface. Iconic behavior, no cap. By default, it creates the man page files in the "man" directory under the current directory. It's giving organized and lowkey effortless πŸ’….

πŸ’… OPTIONS πŸ’…

  • --dir="man/" β€” the directory to write the man pages. The default is "man/", and she is very much keeping things tidy.
  • -h, --help[=false] β€” help for man. The [=false] is just chilling there by default.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

These are passed down from the parent command, and they are highkey essential:

  • --clock="" β€” set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00.
  • --config="" β€” config file; default is hugo.yaml|json|toml.
  • --configDir="config" β€” config dir. That's the whole vibe.
  • -d, --destination="" β€” filesystem path to write files to.
  • -e, --environment="" β€” build environment.
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern.
  • --logLevel="" β€” log level: debug|info|warn|error.
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file.
  • --quiet[=false] β€” build in quiet mode.
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when running the server).
  • -s, --source="" β€” filesystem path to read files relative from.
  • --themesDir="" β€” filesystem path to themes directory.

⭐ SEE ALSO ⭐

  • hugo-gen(1) β€” the parent-command bestie to check out next. iykyk 🫢

xoxo, your man-page bestie πŸ’– β€” this page is from Hugo 0.169.0, dated Oct 2026, and it's literally HUGO-GEN-MAN(1) 🌸

πŸ“¦ where this page comes from