1HUGO-GEN-AUTOCOMPLETE(1)          Hugo Manual         HUGO-GEN-AUTOCOMPLETE(1)
2
3
4

NAME

6       hugo-gen-autocomplete - Generate shell autocompletion script for Hugo
7
8
9

SYNOPSIS

11       hugo gen autocomplete [flags]
12
13
14

DESCRIPTION

16       Generates a shell autocompletion script for Hugo.
17
18
19       NOTE: The current version supports Bash only.
20             This should work for *nix systems with Bash installed.
21
22
23       By default, the file is written directly to /etc/bash_completion.d for
24       convenience, and the command may need superuser rights, e.g.:
25
26
27              $ sudo hugo gen autocomplete
28
29
30
31       Add --completionfile=/path/to/file flag to set alternative file-path
32       and name.
33
34
35       Logout and in again to reload the completion scripts, or just source
36       them in directly:
37
38
39              $ . /etc/bash_completion
40
41
42
43

OPTIONS

45       --completionfile="/etc/bash_completion.d/hugo.sh"
46           autocompletion file
47
48
49       -h, --help[=false]
50           help for autocomplete
51
52
53       --type="bash"
54           autocompletion type (currently only bash supported)
55
56
57

OPTIONS INHERITED FROM PARENT COMMANDS

59       --config=""
60           config file (default is path/config.yaml|json|toml)
61
62
63       --configDir="config"
64           config dir
65
66
67       --debug[=false]
68           debug output
69
70
71       --log[=false]
72           enable Logging
73
74
75       --logFile=""
76           log File path (if set, logging enabled automatically)
77
78
79       --quiet[=false]
80           build in quiet mode
81
82
83       -v, --verbose[=false]
84           verbose output
85
86
87       --verboseLog[=false]
88           verbose logging
89
90
91

SEE ALSO

93       hugo-gen(1)
94
95
96
97Hugo 0.55.6                        May 2019           HUGO-GEN-AUTOCOMPLETE(1)
Impressum