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 forcompletion. 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 ishugo.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_vendorfor 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.lockfile. 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 π₯
hugo(1)hugo-completion-bash(1)hugo-completion-fish(1)hugo-completion-powershell(1)hugo-completion-zsh(1)
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
- arch rolling: hugo 0.169.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms