hugo_completion.md (1846B)
1 ---
2 title: "hugo completion"
3 slug: hugo_completion
4 url: /commands/hugo_completion/
5 ---
6 ## hugo completion
7
8 Generate the autocompletion script for the specified shell
9
10 ### Synopsis
11
12 Generate the autocompletion script for hugo for the specified shell.
13 See each sub-command's help for details on how to use the generated script.
14
15
16 ### Options
17
18 ```
19 -h, --help help for completion
20 ```
21
22 ### Options inherited from parent commands
23
24 ```
25 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
26 --config string config file (default is path/config.yaml|json|toml)
27 --configDir string config dir (default "config")
28 --debug debug output
29 -e, --environment string build environment
30 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
31 --log enable Logging
32 --logFile string log File path (if set, logging enabled automatically)
33 --quiet build in quiet mode
34 -s, --source string filesystem path to read files relative from
35 --themesDir string filesystem path to themes directory
36 -v, --verbose verbose output
37 --verboseLog verbose logging
38 ```
39
40 ### SEE ALSO
41
42 * [hugo](/commands/hugo/) - hugo builds your site
43 * [hugo completion bash](/commands/hugo_completion_bash/) - Generate the autocompletion script for bash
44 * [hugo completion fish](/commands/hugo_completion_fish/) - Generate the autocompletion script for fish
45 * [hugo completion powershell](/commands/hugo_completion_powershell/) - Generate the autocompletion script for powershell
46 * [hugo completion zsh](/commands/hugo_completion_zsh/) - Generate the autocompletion script for zsh
47