HUGO-COMPLETION(1)

πŸ’… hugo-completion(1) β€” the Hugo Manual, bestie edition ✨

okay so picture this: you're in the Hugo Manual, you flip open hugo-completion(1), and it's literally just here to make your shell go brrrr with tab-completion. that's it, that's the whole vibe πŸŽ€


🌸 NAME 🌸

hugo-completion β€” generate the autocompletion script for the specified shell. yes bestie, the tab key is about to become your best friend 🫢


⭐ SYNOPSIS ⭐

hugo completion [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk: this generates the autocompletion script for hugo for whatever shell you point it at. that's the whole job, and it ate πŸ’…

each sub-command has its own help for the deets on how to actually use the generated script, so like… go read those, iykyk ✨


πŸ’– OPTIONS πŸ’–

  • -h, --help[=false] β€” help for completion. the classic. the icon. when in doubt, ask for help πŸ‘‘

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these bad boys come down from the parent command, so they're not even this command's fault, they're just part of the family 🧚

  • --clock="" β€” set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00. you literally get to time travel, no cap ⏰
  • --config="" β€” config file (default is hugo.yaml|json|toml). yes, you can pick your fighter πŸ“
  • --configDir="config" β€” config dir. the folder where the config lore lives πŸŽ€
  • -d, --destination="" β€” filesystem path to write files to. tell it where to drop the goods πŸ¦‹
  • -e, --environment="" β€” build environment. main character energy, but for builds πŸ’…
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern. the way that it just ignores things, honestly iconic πŸ™ˆ
  • --logLevel="" β€” log level (debug|info|warn|error). pick your chaos level πŸ’€
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file. the lock file? not invited to this party 🚫
  • --quiet[=false] β€” build in quiet mode. shhh, we're being demure 🀫
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when running the server). lowkey the most fun one, it renders straight into RAM 🧠✨
  • -s, --source="" β€” filesystem path to read files relative from. the origin story πŸ“
  • --themesDir="" β€” filesystem path to themes directory. all the aesthetics live here 🌸

πŸ”₯ SEE ALSO πŸ”₯

like, go read the whole friend group, fr fr 🫢


ngl there's nothing dangerous in here, it's just good clean autocompletion. but do read each sub-command's help before you go wild, okay? 😭

and that's the page, bestie πŸ’œ brought to you by Hugo 0.169.0, dated Oct 2026 β€” periodt, go forth and tab-complete βœ¨πŸ‘‘

πŸ“¦ where this page comes from