docs: Regenerate CLI docs

Fixes #5507
This commit is contained in:
Bjørn Erik Pedersen 2018-12-12 09:09:45 +01:00
parent b17a61a605
commit 5068681707
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
26 changed files with 298 additions and 245 deletions

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo" title: "hugo"
slug: hugo slug: hugo
url: /commands/hugo/ url: /commands/hugo/
@ -31,11 +31,13 @@ hugo [flags]
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--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)
--configDir string config dir (default "config")
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
--debug debug output --debug debug output
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disableKinds strings disable different kind of pages (home, RSS etc.) --disableKinds strings disable different kind of pages (home, RSS etc.)
--enableGitInfo add Git revision, date and author info to the pages --enableGitInfo add Git revision, date and author info to the pages
-e, --environment string build environment
--forceSyncStatic copy all files when static is changed. --forceSyncStatic copy all files when static is changed.
--gc enable to run some cleanup tasks (remove unused cache files) after the build --gc enable to run some cleanup tasks (remove unused cache files) after the build
-h, --help help for hugo -h, --help help for hugo
@ -74,4 +76,4 @@ hugo [flags]
* [hugo server](/commands/hugo_server/) - A high performance webserver * [hugo server](/commands/hugo_server/) - A high performance webserver
* [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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo benchmark" title: "hugo benchmark"
slug: hugo_benchmark slug: hugo_benchmark
url: /commands/hugo_benchmark/ url: /commands/hugo_benchmark/
@ -32,6 +32,7 @@ hugo benchmark [flags]
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disableKinds strings disable different kind of pages (home, RSS etc.) --disableKinds strings disable different kind of pages (home, RSS etc.)
--enableGitInfo add Git revision, date and author info to the pages --enableGitInfo add Git revision, date and author info to the pages
-e, --environment string build environment
--forceSyncStatic copy all files when static is changed. --forceSyncStatic copy all files when static is changed.
--gc enable to run some cleanup tasks (remove unused cache files) after the build --gc enable to run some cleanup tasks (remove unused cache files) after the build
-h, --help help for benchmark -h, --help help for benchmark
@ -54,17 +55,18 @@ hugo benchmark [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo check" title: "hugo check"
slug: hugo_check slug: hugo_check
url: /commands/hugo_check/ url: /commands/hugo_check/
@ -21,13 +21,14 @@ Contains some verification checks
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
@ -35,4 +36,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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo check ulimit" title: "hugo check ulimit"
slug: hugo_check_ulimit slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/ url: /commands/hugo_check_ulimit/
@ -26,17 +26,18 @@ hugo check ulimit [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo config" title: "hugo config"
slug: hugo_config slug: hugo_config
url: /commands/hugo_config/ url: /commands/hugo_config/
@ -26,17 +26,18 @@ hugo config [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo convert" title: "hugo convert"
slug: hugo_convert slug: hugo_convert
url: /commands/hugo_convert/ url: /commands/hugo_convert/
@ -26,13 +26,14 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
@ -42,4 +43,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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo convert toJSON" title: "hugo convert toJSON"
slug: hugo_convert_toJSON slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/ url: /commands/hugo_convert_tojson/
@ -26,20 +26,21 @@ hugo convert toJSON [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
-o, --output string filesystem path to write files to --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode -o, --output string filesystem path to write files to
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
--unsafe enable less safe operations, please backup first -s, --source string filesystem path to read files relative from
-v, --verbose verbose output --unsafe enable less safe operations, please backup first
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo convert toTOML" title: "hugo convert toTOML"
slug: hugo_convert_toTOML slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/ url: /commands/hugo_convert_totoml/
@ -26,20 +26,21 @@ hugo convert toTOML [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
-o, --output string filesystem path to write files to --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode -o, --output string filesystem path to write files to
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
--unsafe enable less safe operations, please backup first -s, --source string filesystem path to read files relative from
-v, --verbose verbose output --unsafe enable less safe operations, please backup first
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo convert toYAML" title: "hugo convert toYAML"
slug: hugo_convert_toYAML slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/ url: /commands/hugo_convert_toyaml/
@ -26,20 +26,21 @@ hugo convert toYAML [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
-o, --output string filesystem path to write files to --logFile string log File path (if set, logging enabled automatically)
--quiet build in quiet mode -o, --output string filesystem path to write files to
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
--unsafe enable less safe operations, please backup first -s, --source string filesystem path to read files relative from
-v, --verbose verbose output --unsafe enable less safe operations, please backup first
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo env" title: "hugo env"
slug: hugo_env slug: hugo_env
url: /commands/hugo_env/ url: /commands/hugo_env/
@ -25,17 +25,18 @@ hugo env [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo gen" title: "hugo gen"
slug: hugo_gen slug: hugo_gen
url: /commands/hugo_gen/ url: /commands/hugo_gen/
@ -21,13 +21,14 @@ A collection of several useful generators.
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
@ -38,4 +39,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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo gen autocomplete" title: "hugo gen autocomplete"
slug: hugo_gen_autocomplete slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/ url: /commands/hugo_gen_autocomplete/
@ -43,17 +43,18 @@ hugo gen autocomplete [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo gen chromastyles" title: "hugo gen chromastyles"
slug: hugo_gen_chromastyles slug: hugo_gen_chromastyles
url: /commands/hugo_gen_chromastyles/ url: /commands/hugo_gen_chromastyles/
@ -30,17 +30,18 @@ hugo gen chromastyles [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo gen doc" title: "hugo gen doc"
slug: hugo_gen_doc slug: hugo_gen_doc
url: /commands/hugo_gen_doc/ url: /commands/hugo_gen_doc/
@ -32,17 +32,18 @@ hugo gen doc [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo gen man" title: "hugo gen man"
slug: hugo_gen_man slug: hugo_gen_man
url: /commands/hugo_gen_man/ url: /commands/hugo_gen_man/
@ -28,17 +28,18 @@ hugo gen man [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo import" title: "hugo import"
slug: hugo_import slug: hugo_import
url: /commands/hugo_import/ url: /commands/hugo_import/
@ -23,13 +23,14 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
@ -37,4 +38,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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo import jekyll" title: "hugo import jekyll"
slug: hugo_import_jekyll slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/ url: /commands/hugo_import_jekyll/
@ -28,17 +28,18 @@ hugo import jekyll [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo list" title: "hugo list"
slug: hugo_list slug: hugo_list
url: /commands/hugo_list/ url: /commands/hugo_list/
@ -24,13 +24,14 @@ List requires a subcommand, e.g. `hugo list 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
@ -40,4 +41,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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo list drafts" title: "hugo list drafts"
slug: hugo_list_drafts slug: hugo_list_drafts
url: /commands/hugo_list_drafts/ url: /commands/hugo_list_drafts/
@ -25,18 +25,19 @@ hugo list drafts [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
-v, --verbose verbose output -s, --source string filesystem path to read files relative from
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo list expired" title: "hugo list expired"
slug: hugo_list_expired slug: hugo_list_expired
url: /commands/hugo_list_expired/ url: /commands/hugo_list_expired/
@ -26,18 +26,19 @@ hugo list expired [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
-v, --verbose verbose output -s, --source string filesystem path to read files relative from
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo list future" title: "hugo list future"
slug: hugo_list_future slug: hugo_list_future
url: /commands/hugo_list_future/ url: /commands/hugo_list_future/
@ -26,18 +26,19 @@ hugo list future [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
-v, --verbose verbose output -s, --source string filesystem path to read files relative from
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo new" title: "hugo new"
slug: hugo_new slug: hugo_new
url: /commands/hugo_new/ url: /commands/hugo_new/
@ -26,22 +26,47 @@ hugo new [path] [flags]
### Options ### Options
``` ```
--editor string edit new content with this editor, if provided -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/
-h, --help help for new -D, --buildDrafts include content marked as draft
-k, --kind string content type to create -E, --buildExpired include expired content
-s, --source string filesystem path to read files relative from -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--cleanDestinationDir remove files from destination not found in static directories
-c, --contentDir string filesystem path to content directory
-d, --destination string filesystem path to write files to
--disableKinds strings disable different kind of pages (home, RSS etc.)
--editor string edit new content with this editor, if provided
--enableGitInfo add Git revision, date and author info to the pages
-e, --environment string build environment
--forceSyncStatic copy all files when static is changed.
--gc enable to run some cleanup tasks (remove unused cache files) after the build
-h, --help help for new
--i18n-warnings print missing translations
--ignoreCache ignores the cache directory
-k, --kind string content type to create
-l, --layoutDir string filesystem path to layout directory
--minify minify any supported output format (HTML, XML etc.)
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
-s, --source string filesystem path to read files relative from
--stepAnalysis display memory and timing of different steps of the program
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme string theme to use (located in /themes/THEMENAME/)
--themesDir string filesystem path to themes directory
``` ```
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
@ -50,4 +75,4 @@ hugo new [path] [flags]
* [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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo new site" title: "hugo new site"
slug: hugo_new_site slug: hugo_new_site
url: /commands/hugo_new_site/ url: /commands/hugo_new_site/
@ -29,18 +29,19 @@ hugo new site [path] [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
-v, --verbose verbose output -s, --source string filesystem path to read files relative from
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo new theme" title: "hugo new theme"
slug: hugo_new_theme slug: hugo_new_theme
url: /commands/hugo_new_theme/ url: /commands/hugo_new_theme/
@ -28,18 +28,19 @@ hugo new theme [name] [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-s, --source string filesystem path to read files relative from --quiet build in quiet mode
-v, --verbose verbose output -s, --source string filesystem path to read files relative from
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### 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 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo server" title: "hugo server"
slug: hugo_server slug: hugo_server
url: /commands/hugo_server/ url: /commands/hugo_server/
@ -45,6 +45,7 @@ hugo server [flags]
--disableKinds strings disable different kind of pages (home, RSS etc.) --disableKinds strings 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
--enableGitInfo add Git revision, date and author info to the pages --enableGitInfo add Git revision, date and author info to the pages
-e, --environment string build environment
--forceSyncStatic copy all files when static is changed. --forceSyncStatic copy all files when static is changed.
--gc enable to run some cleanup tasks (remove unused cache files) after the build --gc enable to run some cleanup tasks (remove unused cache files) after the build
-h, --help help for server -h, --help help for server
@ -73,17 +74,18 @@ hugo server [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018

View file

@ -1,5 +1,5 @@
--- ---
date: 2018-11-05 date: 2018-12-12
title: "hugo version" title: "hugo version"
slug: hugo_version slug: hugo_version
url: /commands/hugo_version/ url: /commands/hugo_version/
@ -25,17 +25,18 @@ hugo version [flags]
### 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)
--debug debug output --configDir string config dir (default "config")
--log enable Logging --debug debug output
--logFile string log File path (if set, logging enabled automatically) --log enable Logging
--quiet build in quiet mode --logFile string log File path (if set, logging enabled automatically)
-v, --verbose verbose output --quiet build in quiet mode
--verboseLog verbose logging -v, --verbose verbose output
--verboseLog verbose logging
``` ```
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 5-Nov-2018 ###### Auto generated by spf13/cobra on 12-Dec-2018