Regenerate commands doc

This commit is contained in:
Bjørn Erik Pedersen committed 2017-07-16 23:23:22 +02:00
1 parent 436f2a36a1
commit 4b0d339321
26 files changed
+274 -251

No files matched your search

+20 -22
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo" title: "hugo"
menu:
docs:
parent: "commands"
slug: hugo slug: hugo
url: /commands/hugo/ url: /commands/hugo/
--- ---
@@ -22,7 +19,7 @@ built with love by spf13 and friends in Go.
Complete documentation is available at http://gohugo.io/. Complete documentation is available at http://gohugo.io/.
``` ```
hugo hugo [flags]
``` ```
### Options ### Options
@@ -34,25 +31,26 @@ hugo
-F, --buildFuture include content with publishdate in the future -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs if true, all relative URLs will be canonicalized using baseURL --canonifyURLs if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir Remove files from destination not found in static directories --cleanDestinationDir remove files from destination not found in static directories
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disable404 Do not render 404 page --disable404 do not render 404 page
--disableKinds stringSlice Disable different kind of pages (home, RSS etc.) --disableKinds stringSlice disable different kind of pages (home, RSS etc.)
--disableRSS Do not build RSS files --disableRSS do not build RSS files
--disableSitemap Do not build Sitemap file --disableSitemap do not build Sitemap file
--enableGitInfo Add Git revision, date and author info to the pages --enableGitInfo add Git revision, date and author info to the pages
--forceSyncStatic Copy all files when static is changed. --forceSyncStatic copy all files when static is changed.
--i18n-warnings Print missing translations -h, --help help for hugo
--ignoreCache Ignores the cache directory --i18n-warnings print missing translations
--ignoreCache ignores the cache directory
-l, --layoutDir string filesystem path to layout directory -l, --layoutDir string filesystem path to layout directory
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--noChmod Don't sync permission mode of files --noChmod don't sync permission mode of files
--noTimes Don't sync modification time of files --noTimes don't sync modification time of files
--pluralizeListTitles Pluralize titles in lists using inflect (default true) --pluralizeListTitles pluralize titles in lists using inflect (default true)
--preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu") --preserveTaxonomyNames preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
--quiet build in quiet mode --quiet build in quiet mode
--renderToMemory render to memory (only useful for benchmark testing) --renderToMemory render to memory (only useful for benchmark testing)
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
@@ -76,7 +74,7 @@ hugo
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
* [hugo new](/commands/hugo_new/) - Create new content for your site * [hugo new](/commands/hugo_new/) - Create new content for your site
* [hugo server](/commands/hugo_server/) - A high performance webserver * [hugo server](/commands/hugo_server/) - A high performance webserver
* [hugo undraft](/commands/hugo_undraft/) - Undraft changes the content's draft status from 'True' to 'False' * [hugo undraft](/commands/hugo_undraft/) - Undraft resets the content's draft status
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo * [hugo version](/commands/hugo_version/) - Print the version number of Hugo
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+19 -21
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo benchmark" title: "hugo benchmark"
menu:
docs:
parent: "commands"
slug: hugo_benchmark slug: hugo_benchmark
url: /commands/hugo_benchmark/ url: /commands/hugo_benchmark/
--- ---
@@ -18,7 +15,7 @@ Hugo can build a site many times over and analyze the running process
creating a benchmark. creating a benchmark.
``` ```
hugo benchmark hugo benchmark [flags]
``` ```
### Options ### Options
@@ -30,25 +27,26 @@ hugo benchmark
-F, --buildFuture include content with publishdate in the future -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs if true, all relative URLs will be canonicalized using baseURL --canonifyURLs if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir Remove files from destination not found in static directories --cleanDestinationDir remove files from destination not found in static directories
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-n, --count int number of times to build the site (default 13) -n, --count int number of times to build the site (default 13)
--cpuprofile string path/filename for the CPU profile file --cpuprofile string path/filename for the CPU profile file
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disable404 Do not render 404 page --disable404 do not render 404 page
--disableKinds stringSlice Disable different kind of pages (home, RSS etc.) --disableKinds stringSlice disable different kind of pages (home, RSS etc.)
--disableRSS Do not build RSS files --disableRSS do not build RSS files
--disableSitemap Do not build Sitemap file --disableSitemap do not build Sitemap file
--enableGitInfo Add Git revision, date and author info to the pages --enableGitInfo add Git revision, date and author info to the pages
--forceSyncStatic Copy all files when static is changed. --forceSyncStatic copy all files when static is changed.
--i18n-warnings Print missing translations -h, --help help for benchmark
--ignoreCache Ignores the cache directory --i18n-warnings print missing translations
--ignoreCache ignores the cache directory
-l, --layoutDir string filesystem path to layout directory -l, --layoutDir string filesystem path to layout directory
--memprofile string path/filename for the memory profile file --memprofile string path/filename for the memory profile file
--noChmod Don't sync permission mode of files --noChmod don't sync permission mode of files
--noTimes Don't sync modification time of files --noTimes don't sync modification time of files
--pluralizeListTitles Pluralize titles in lists using inflect (default true) --pluralizeListTitles pluralize titles in lists using inflect (default true)
--preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu") --preserveTaxonomyNames preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
--renderToMemory render to memory (only useful for benchmark testing) --renderToMemory render to memory (only useful for benchmark testing)
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
--stepAnalysis display memory and timing of different steps of the program --stepAnalysis display memory and timing of different steps of the program
@@ -61,8 +59,8 @@ hugo benchmark
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -71,4 +69,4 @@ hugo benchmark
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+10 -7
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo check" title: "hugo check"
menu:
docs:
parent: "commands"
slug: hugo_check slug: hugo_check
url: /commands/hugo_check/ url: /commands/hugo_check/
--- ---
@@ -16,12 +13,18 @@ Contains some verification checks
Contains some verification checks Contains some verification checks
### Options
```
-h, --help help for check
```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -31,4 +34,4 @@ Contains some verification checks
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings * [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo check ulimit" title: "hugo check ulimit"
menu:
docs:
parent: "commands"
slug: hugo_check_ulimit slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/ url: /commands/hugo_check_ulimit/
--- ---
@@ -18,15 +15,21 @@ Hugo will inspect the current ulimit settings on the system.
This is primarily to ensure that Hugo can watch enough files on some OSs This is primarily to ensure that Hugo can watch enough files on some OSs
``` ```
hugo check ulimit hugo check ulimit [flags]
```
### Options
```
-h, --help help for ulimit
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -35,4 +38,4 @@ hugo check ulimit
### SEE ALSO ### SEE ALSO
* [hugo check](/commands/hugo_check/) - Contains some verification checks * [hugo check](/commands/hugo_check/) - Contains some verification checks
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo config" title: "hugo config"
menu:
docs:
parent: "commands"
slug: hugo_config slug: hugo_config
url: /commands/hugo_config/ url: /commands/hugo_config/
--- ---
@@ -17,15 +14,21 @@ Print the site configuration
Print the site configuration, both default and custom settings. Print the site configuration, both default and custom settings.
``` ```
hugo config hugo config [flags]
```
### Options
```
-h, --help help for config
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -34,4 +37,4 @@ hugo config
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+5 -7
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo convert" title: "hugo convert"
menu:
docs:
parent: "commands"
slug: hugo_convert slug: hugo_convert
url: /commands/hugo_convert/ url: /commands/hugo_convert/
--- ---
@@ -21,6 +18,7 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
### Options ### Options
``` ```
-h, --help help for convert
-o, --output string filesystem path to write files to -o, --output string filesystem path to write files to
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
--unsafe enable less safe operations, please backup first --unsafe enable less safe operations, please backup first
@@ -30,8 +28,8 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -43,4 +41,4 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML * [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML * [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo convert toJSON" title: "hugo convert toJSON"
menu:
docs:
parent: "commands"
slug: hugo_convert_toJSON slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/ url: /commands/hugo_convert_tojson/
--- ---
@@ -18,15 +15,21 @@ toJSON converts all front matter in the content directory
to use JSON for the front matter. to use JSON for the front matter.
``` ```
hugo convert toJSON hugo convert toJSON [flags]
```
### Options
```
-h, --help help for toJSON
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
-o, --output string filesystem path to write files to -o, --output string filesystem path to write files to
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
@@ -38,4 +41,4 @@ hugo convert toJSON
### SEE ALSO ### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo convert toTOML" title: "hugo convert toTOML"
menu:
docs:
parent: "commands"
slug: hugo_convert_toTOML slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/ url: /commands/hugo_convert_totoml/
--- ---
@@ -18,15 +15,21 @@ toTOML converts all front matter in the content directory
to use TOML for the front matter. to use TOML for the front matter.
``` ```
hugo convert toTOML hugo convert toTOML [flags]
```
### Options
```
-h, --help help for toTOML
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
-o, --output string filesystem path to write files to -o, --output string filesystem path to write files to
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
@@ -38,4 +41,4 @@ hugo convert toTOML
### SEE ALSO ### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo convert toYAML" title: "hugo convert toYAML"
menu:
docs:
parent: "commands"
slug: hugo_convert_toYAML slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/ url: /commands/hugo_convert_toyaml/
--- ---
@@ -18,15 +15,21 @@ toYAML converts all front matter in the content directory
to use YAML for the front matter. to use YAML for the front matter.
``` ```
hugo convert toYAML hugo convert toYAML [flags]
```
### Options
```
-h, --help help for toYAML
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
-o, --output string filesystem path to write files to -o, --output string filesystem path to write files to
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
@@ -38,4 +41,4 @@ hugo convert toYAML
### SEE ALSO ### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo env" title: "hugo env"
menu:
docs:
parent: "commands"
slug: hugo_env slug: hugo_env
url: /commands/hugo_env/ url: /commands/hugo_env/
--- ---
@@ -17,15 +14,21 @@ Print Hugo version and environment info
Print Hugo version and environment info. This is useful in Hugo bug reports. Print Hugo version and environment info. This is useful in Hugo bug reports.
``` ```
hugo env hugo env [flags]
```
### Options
```
-h, --help help for env
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -34,4 +37,4 @@ hugo env
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+10 -7
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo gen" title: "hugo gen"
menu:
docs:
parent: "commands"
slug: hugo_gen slug: hugo_gen
url: /commands/hugo_gen/ url: /commands/hugo_gen/
--- ---
@@ -16,12 +13,18 @@ A collection of several useful generators.
A collection of several useful generators. A collection of several useful generators.
### Options
```
-h, --help help for gen
```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -33,4 +36,4 @@ A collection of several useful generators.
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI. * [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI.
* [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI * [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+8 -10
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo gen autocomplete" title: "hugo gen autocomplete"
menu:
docs:
parent: "commands"
slug: hugo_gen_autocomplete slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/ url: /commands/hugo_gen_autocomplete/
--- ---
@@ -33,22 +30,23 @@ or just source them in directly:
$ . /etc/bash_completion $ . /etc/bash_completion
``` ```
hugo gen autocomplete hugo gen autocomplete [flags]
``` ```
### Options ### Options
``` ```
--completionfile string Autocompletion file (default "/etc/bash_completion.d/hugo.sh") --completionfile string autocompletion file (default "/etc/bash_completion.d/hugo.sh")
--type string Autocompletion type (currently only bash supported) (default "bash") -h, --help help for autocomplete
--type string autocompletion type (currently only bash supported) (default "bash")
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -57,4 +55,4 @@ hugo gen autocomplete
### SEE ALSO ### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+6 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo gen doc" title: "hugo gen doc"
menu:
docs:
parent: "commands"
slug: hugo_gen_doc slug: hugo_gen_doc
url: /commands/hugo_gen_doc/ url: /commands/hugo_gen_doc/
--- ---
@@ -23,21 +20,22 @@ It creates one Markdown file per command with front matter suitable
for rendering in Hugo. for rendering in Hugo.
``` ```
hugo gen doc hugo gen doc [flags]
``` ```
### Options ### Options
``` ```
--dir string the directory to write the doc. (default "/tmp/hugodoc/") --dir string the directory to write the doc. (default "/tmp/hugodoc/")
-h, --help help for doc
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -46,4 +44,4 @@ hugo gen doc
### SEE ALSO ### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+6 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo gen man" title: "hugo gen man"
menu:
docs:
parent: "commands"
slug: hugo_gen_man slug: hugo_gen_man
url: /commands/hugo_gen_man/ url: /commands/hugo_gen_man/
--- ---
@@ -19,21 +16,22 @@ command-line interface. By default, it creates the man page files
in the "man" directory under the current directory. in the "man" directory under the current directory.
``` ```
hugo gen man hugo gen man [flags]
``` ```
### Options ### Options
``` ```
--dir string the directory to write the man pages. (default "man/") --dir string the directory to write the man pages. (default "man/")
-h, --help help for man
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -42,4 +40,4 @@ hugo gen man
### SEE ALSO ### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+10 -7
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo import" title: "hugo import"
menu:
docs:
parent: "commands"
slug: hugo_import slug: hugo_import
url: /commands/hugo_import/ url: /commands/hugo_import/
--- ---
@@ -18,12 +15,18 @@ Import your site from other web site generators like Jekyll.
Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_path`. Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_path`.
### Options
```
-h, --help help for import
```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -33,4 +36,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll * [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+7 -9
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo import jekyll" title: "hugo import jekyll"
menu:
docs:
parent: "commands"
slug: hugo_import_jekyll slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/ url: /commands/hugo_import_jekyll/
--- ---
@@ -19,21 +16,22 @@ hugo import from Jekyll.
Import from Jekyll requires two paths, e.g. `hugo import jekyll jekyll_root_path target_path`. Import from Jekyll requires two paths, e.g. `hugo import jekyll jekyll_root_path target_path`.
``` ```
hugo import jekyll hugo import jekyll [flags]
``` ```
### Options ### Options
``` ```
--force Allow import into non-empty target directory --force allow import into non-empty target directory
-h, --help help for jekyll
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -42,4 +40,4 @@ hugo import jekyll
### SEE ALSO ### SEE ALSO
* [hugo import](/commands/hugo_import/) - Import your site from others. * [hugo import](/commands/hugo_import/) - Import your site from others.
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+5 -7
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo list" title: "hugo list"
menu:
docs:
parent: "commands"
slug: hugo_list slug: hugo_list
url: /commands/hugo_list/ url: /commands/hugo_list/
--- ---
@@ -21,6 +18,7 @@ List requires a subcommand, e.g. `hugo list drafts`.
### Options ### Options
``` ```
-h, --help help for list
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
``` ```
@@ -28,8 +26,8 @@ List requires a subcommand, e.g. `hugo list drafts`.
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -41,4 +39,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired * [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future * [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo list drafts" title: "hugo list drafts"
menu:
docs:
parent: "commands"
slug: hugo_list_drafts slug: hugo_list_drafts
url: /commands/hugo_list_drafts/ url: /commands/hugo_list_drafts/
--- ---
@@ -17,15 +14,21 @@ List all drafts
List all of the drafts in your content directory. List all of the drafts in your content directory.
``` ```
hugo list drafts hugo list drafts [flags]
```
### Options
```
-h, --help help for drafts
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
-v, --verbose verbose output -v, --verbose verbose output
@@ -35,4 +38,4 @@ hugo list drafts
### SEE ALSO ### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo list expired" title: "hugo list expired"
menu:
docs:
parent: "commands"
slug: hugo_list_expired slug: hugo_list_expired
url: /commands/hugo_list_expired/ url: /commands/hugo_list_expired/
--- ---
@@ -18,15 +15,21 @@ List all of the posts in your content directory which has already
expired. expired.
``` ```
hugo list expired hugo list expired [flags]
```
### Options
```
-h, --help help for expired
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
-v, --verbose verbose output -v, --verbose verbose output
@@ -36,4 +39,4 @@ hugo list expired
### SEE ALSO ### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo list future" title: "hugo list future"
menu:
docs:
parent: "commands"
slug: hugo_list_future slug: hugo_list_future
url: /commands/hugo_list_future/ url: /commands/hugo_list_future/
--- ---
@@ -18,15 +15,21 @@ List all of the posts in your content directory which will be
posted in the future. posted in the future.
``` ```
hugo list future hugo list future [flags]
```
### Options
```
-h, --help help for future
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
-v, --verbose verbose output -v, --verbose verbose output
@@ -36,4 +39,4 @@ hugo list future
### SEE ALSO ### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+7 -10
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo new" title: "hugo new"
menu:
docs:
parent: "commands"
slug: hugo_new slug: hugo_new
url: /commands/hugo_new/ url: /commands/hugo_new/
--- ---
@@ -22,15 +19,15 @@ You can also specify the kind with `-k KIND`.
If archetypes are provided in your theme or site, they will be used. If archetypes are provided in your theme or site, they will be used.
``` ```
hugo new [path] hugo new [path] [flags]
``` ```
### Options ### Options
``` ```
--editor string edit new content with this editor, if provided --editor string edit new content with this editor, if provided
-f, --format string frontmatter format (default "toml") -h, --help help for new
-k, --kind string Content type to create -k, --kind string content type to create
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
``` ```
@@ -38,8 +35,8 @@ hugo new [path]
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -50,4 +47,4 @@ hugo new [path]
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton) * [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme * [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+7 -9
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo new site" title: "hugo new site"
menu:
docs:
parent: "commands"
slug: hugo_new_site slug: hugo_new_site
url: /commands/hugo_new_site/ url: /commands/hugo_new_site/
--- ---
@@ -19,22 +16,23 @@ The new site will have the correct structure, but no content or theme yet.
Use `hugo new [contentPath]` to create new content. Use `hugo new [contentPath]` to create new content.
``` ```
hugo new site [path] hugo new site [path] [flags]
``` ```
### Options ### Options
``` ```
--force Init inside non-empty directory --force init inside non-empty directory
-f, --format string config & frontmatter format (default "toml") -f, --format string config & frontmatter format (default "toml")
-h, --help help for site
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
-v, --verbose verbose output -v, --verbose verbose output
@@ -44,4 +42,4 @@ hugo new site [path]
### SEE ALSO ### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site * [hugo new](/commands/hugo_new/) - Create new content for your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo new theme" title: "hugo new theme"
menu:
docs:
parent: "commands"
slug: hugo_new_theme slug: hugo_new_theme
url: /commands/hugo_new_theme/ url: /commands/hugo_new_theme/
--- ---
@@ -20,15 +17,21 @@ name to the copyright line in the license and adjust the theme.toml file
as you see fit. as you see fit.
``` ```
hugo new theme [name] hugo new theme [name] [flags]
```
### Options
```
-h, --help help for theme
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
-v, --verbose verbose output -v, --verbose verbose output
@@ -38,4 +41,4 @@ hugo new theme [name]
### SEE ALSO ### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site * [hugo new](/commands/hugo_new/) - Create new content for your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+20 -21
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo server" title: "hugo server"
menu:
docs:
parent: "commands"
slug: hugo_server slug: hugo_server
url: /commands/hugo_server/ url: /commands/hugo_server/
--- ---
@@ -28,7 +25,7 @@ and push the latest content to them. As most Hugo sites are built in a fraction
of a second, you will be able to save and see your changes nearly instantly. of a second, you will be able to save and see your changes nearly instantly.
``` ```
hugo server hugo server [flags]
``` ```
### Options ### Options
@@ -42,26 +39,28 @@ hugo server
-F, --buildFuture include content with publishdate in the future -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs if true, all relative URLs will be canonicalized using baseURL --canonifyURLs if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir Remove files from destination not found in static directories --cleanDestinationDir remove files from destination not found in static directories
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disable404 Do not render 404 page --disable404 do not render 404 page
--disableKinds stringSlice Disable different kind of pages (home, RSS etc.) --disableKinds stringSlice disable different kind of pages (home, RSS etc.)
--disableLiveReload watch without enabling live browser reload on rebuild --disableLiveReload watch without enabling live browser reload on rebuild
--disableRSS Do not build RSS files --disableRSS do not build RSS files
--disableSitemap Do not build Sitemap file --disableSitemap do not build Sitemap file
--enableGitInfo Add Git revision, date and author info to the pages --enableGitInfo add Git revision, date and author info to the pages
--forceSyncStatic Copy all files when static is changed. --forceSyncStatic copy all files when static is changed.
--i18n-warnings Print missing translations -h, --help help for server
--ignoreCache Ignores the cache directory --i18n-warnings print missing translations
--ignoreCache ignores the cache directory
-l, --layoutDir string filesystem path to layout directory -l, --layoutDir string filesystem path to layout directory
--meminterval string interval to poll memory usage (requires --memstats), valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default "100ms") --meminterval string interval to poll memory usage (requires --memstats), valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default "100ms")
--memstats string log memory usage to this file --memstats string log memory usage to this file
--noChmod Don't sync permission mode of files --navigateToChanged navigate to changed content file on live browser reload
--noTimes Don't sync modification time of files --noChmod don't sync permission mode of files
--pluralizeListTitles Pluralize titles in lists using inflect (default true) --noTimes don't sync modification time of files
--pluralizeListTitles pluralize titles in lists using inflect (default true)
-p, --port int port on which the server will listen (default 1313) -p, --port int port on which the server will listen (default 1313)
--preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu") --preserveTaxonomyNames preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
--renderToDisk render to Destination path (default is render to memory & serve from there) --renderToDisk render to Destination path (default is render to memory & serve from there)
-s, --source string filesystem path to read files relative from -s, --source string filesystem path to read files relative from
--stepAnalysis display memory and timing of different steps of the program --stepAnalysis display memory and timing of different steps of the program
@@ -75,8 +74,8 @@ hugo server
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -85,4 +84,4 @@ hugo server
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+13 -10
View File
@@ -1,33 +1,36 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo undraft" title: "hugo undraft"
menu:
docs:
parent: "commands"
slug: hugo_undraft slug: hugo_undraft
url: /commands/hugo_undraft/ url: /commands/hugo_undraft/
--- ---
## hugo undraft ## hugo undraft
Undraft changes the content's draft status from 'True' to 'False' Undraft resets the content's draft status
### Synopsis ### Synopsis
Undraft changes the content's draft status from 'True' to 'False' Undraft resets the content's draft status
and updates the date to the current date and time. and updates the date to the current date and time.
If the content's draft status is 'False', nothing is done. If the content's draft status is 'False', nothing is done.
``` ```
hugo undraft path/to/content hugo undraft path/to/content [flags]
```
### Options
```
-h, --help help for undraft
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -36,4 +39,4 @@ hugo undraft path/to/content
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017
+11 -8
View File
@@ -1,9 +1,6 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-07-16T23:23:14+02:00
title: "hugo version" title: "hugo version"
menu:
docs:
parent: "commands"
slug: hugo_version slug: hugo_version
url: /commands/hugo_version/ url: /commands/hugo_version/
--- ---
@@ -17,15 +14,21 @@ Print the version number of Hugo
All software has versions. This is Hugo's. All software has versions. This is Hugo's.
``` ```
hugo version hugo version [flags]
```
### Options
```
-h, --help help for version
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
--log Enable Logging --log enable Logging
--logFile string Log File path (if set, logging enabled automatically) --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode --quiet build in quiet mode
-v, --verbose verbose output -v, --verbose verbose output
--verboseLog verbose logging --verboseLog verbose logging
@@ -34,4 +37,4 @@ hugo version
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 25-Feb-2017 ###### Auto generated by spf13/cobra on 16-Jul-2017