docs: Regen CLI docs

This commit is contained in:
Bjørn Erik Pedersen 2021-02-18 17:55:38 +01:00
parent 1b364b003f
commit 9e99950c6e
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
38 changed files with 83 additions and 99 deletions

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo"
slug: hugo
url: /commands/hugo/
@ -81,4 +81,4 @@ hugo [flags]
* [hugo server](/commands/hugo_server/) - A high performance webserver
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo check"
slug: hugo_check
url: /commands/hugo_check/
@ -8,10 +8,6 @@ url: /commands/hugo_check/
Contains some verification checks
### Synopsis
Contains some verification checks
### Options
```
@ -41,4 +37,4 @@ Contains some verification checks
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo check ulimit"
slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/
@ -45,4 +45,4 @@ hugo check ulimit [flags]
* [hugo check](/commands/hugo_check/) - Contains some verification checks
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo config"
slug: hugo_config
url: /commands/hugo_config/
@ -45,4 +45,4 @@ hugo config [flags]
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo config mounts](/commands/hugo_config_mounts/) - Print the configured file mounts
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo config mounts"
slug: hugo_config_mounts
url: /commands/hugo_config_mounts/
@ -8,10 +8,6 @@ url: /commands/hugo_config_mounts/
Print the configured file mounts
### Synopsis
Print the configured file mounts
```
hugo config mounts [flags]
```
@ -44,4 +40,4 @@ hugo config mounts [flags]
* [hugo config](/commands/hugo_config/) - Print the site configuration
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo convert"
slug: hugo_convert
url: /commands/hugo_convert/
@ -47,4 +47,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 toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo convert toJSON"
slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/
@ -47,4 +47,4 @@ hugo convert toJSON [flags]
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo convert toTOML"
slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/
@ -47,4 +47,4 @@ hugo convert toTOML [flags]
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo convert toYAML"
slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/
@ -47,4 +47,4 @@ hugo convert toYAML [flags]
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo deploy"
slug: hugo_deploy
url: /commands/hugo_deploy/
@ -54,4 +54,4 @@ hugo deploy [flags]
* [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo env"
slug: hugo_env
url: /commands/hugo_env/
@ -44,4 +44,4 @@ hugo env [flags]
* [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo gen"
slug: hugo_gen
url: /commands/hugo_gen/
@ -8,10 +8,6 @@ url: /commands/hugo_gen/
A collection of several useful generators.
### Synopsis
A collection of several useful generators.
### Options
```
@ -44,4 +40,4 @@ A collection of several useful generators.
* [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
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2021-01-06
date: 2021-02-18
title: "hugo gen autocomplete"
slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/
@ -12,21 +12,21 @@ Generate shell autocompletion script for Hugo
Generates a shell autocompletion script for Hugo.
By default, the file is written directly to `stdout`
By default, the file is written directly to /etc/bash_completion.d
for convenience, and the command may need superuser rights, e.g.:
$ sudo hugo gen autocomplete
$ sudo hugo gen autocomplete
Add `--completionfile=/path/to/file` flag to set alternative
file-path and name.
Add `--type={bash, zsh or fish}` flag to set alternative
Add `--type={bash, zsh, fish or powershell}` flag to set alternative
shell type.
Logout and in again to reload the completion scripts,
or just source them in directly:
$ . /path/to/file
$ . /etc/bash_completion or /path/to/file
```
hugo gen autocomplete [flags]
@ -35,9 +35,9 @@ hugo gen autocomplete [flags]
### Options
```
--completionfile string autocompletion file (defaults to stdout)
-f, --completionfile string autocompletion file, defaults to stdout
-h, --help help for autocomplete
--type string autocompletion type (zsh, bash or fish) (default "bash")
-t, --type string autocompletion type (bash, zsh, fish, or powershell) (default "bash")
```
### Options inherited from parent commands
@ -60,6 +60,6 @@ hugo gen autocomplete [flags]
### 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 6-Jan-2021
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo gen chromastyles"
slug: hugo_gen_chromastyles
url: /commands/hugo_gen_chromastyles/
@ -49,4 +49,4 @@ hugo gen chromastyles [flags]
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo gen doc"
slug: hugo_gen_doc
url: /commands/hugo_gen_doc/
@ -51,4 +51,4 @@ hugo gen doc [flags]
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo gen man"
slug: hugo_gen_man
url: /commands/hugo_gen_man/
@ -47,4 +47,4 @@ hugo gen man [flags]
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo import"
slug: hugo_import
url: /commands/hugo_import/
@ -43,4 +43,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo import jekyll"
slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/
@ -47,4 +47,4 @@ hugo import jekyll [flags]
* [hugo import](/commands/hugo_import/) - Import your site from others.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo list"
slug: hugo_list
url: /commands/hugo_list/
@ -46,4 +46,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
* [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
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo list all"
slug: hugo_list_all
url: /commands/hugo_list_all/
@ -44,4 +44,4 @@ hugo list all [flags]
* [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo list drafts"
slug: hugo_list_drafts
url: /commands/hugo_list_drafts/
@ -44,4 +44,4 @@ hugo list drafts [flags]
* [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo list expired"
slug: hugo_list_expired
url: /commands/hugo_list_expired/
@ -44,4 +44,4 @@ hugo list expired [flags]
* [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo list future"
slug: hugo_list_future
url: /commands/hugo_list_future/
@ -44,4 +44,4 @@ hugo list future [flags]
* [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod"
slug: hugo_mod
url: /commands/hugo_mod/
@ -84,4 +84,4 @@ See https://gohugo.io/hugo-modules/ for more information.
* [hugo mod vendor](/commands/hugo_mod_vendor/) - Vendor all module dependencies into the _vendor directory.
* [hugo mod verify](/commands/hugo_mod_verify/) - Verify dependencies.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod clean"
slug: hugo_mod_clean
url: /commands/hugo_mod_clean/
@ -52,4 +52,4 @@ hugo mod clean [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod get"
slug: hugo_mod_get
url: /commands/hugo_mod_get/
@ -70,4 +70,4 @@ hugo mod get [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod graph"
slug: hugo_mod_graph
url: /commands/hugo_mod_graph/
@ -46,4 +46,4 @@ hugo mod graph [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod init"
slug: hugo_mod_init
url: /commands/hugo_mod_init/
@ -51,4 +51,4 @@ hugo mod init [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod npm"
slug: hugo_mod_npm
url: /commands/hugo_mod_npm/
@ -45,4 +45,4 @@ hugo mod npm [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
* [hugo mod npm pack](/commands/hugo_mod_npm_pack/) - Experimental: Prepares and writes a composite package.json file for your project.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod npm pack"
slug: hugo_mod_npm_pack
url: /commands/hugo_mod_npm_pack/
@ -54,4 +54,4 @@ hugo mod npm pack [flags]
* [hugo mod npm](/commands/hugo_mod_npm/) - Various npm helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod tidy"
slug: hugo_mod_tidy
url: /commands/hugo_mod_tidy/
@ -8,10 +8,6 @@ url: /commands/hugo_mod_tidy/
Remove unused entries in go.mod and go.sum.
### Synopsis
Remove unused entries in go.mod and go.sum.
```
hugo mod tidy [flags]
```
@ -44,4 +40,4 @@ hugo mod tidy [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod vendor"
slug: hugo_mod_vendor
url: /commands/hugo_mod_vendor/
@ -47,4 +47,4 @@ hugo mod vendor [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo mod verify"
slug: hugo_mod_verify
url: /commands/hugo_mod_verify/
@ -46,4 +46,4 @@ hugo mod verify [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo new"
slug: hugo_new
url: /commands/hugo_new/
@ -79,4 +79,4 @@ hugo new [path] [flags]
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo new site"
slug: hugo_new_site
url: /commands/hugo_new_site/
@ -48,4 +48,4 @@ hugo new site [path] [flags]
* [hugo new](/commands/hugo_new/) - Create new content for your site
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo new theme"
slug: hugo_new_theme
url: /commands/hugo_new_theme/
@ -47,4 +47,4 @@ hugo new theme [name] [flags]
* [hugo new](/commands/hugo_new/) - Create new content for your site
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo server"
slug: hugo_server
url: /commands/hugo_server/
@ -92,4 +92,4 @@ hugo server [flags]
* [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021

View file

@ -1,5 +1,5 @@
---
date: 2020-09-13
date: 2021-02-18
title: "hugo version"
slug: hugo_version
url: /commands/hugo_version/
@ -44,4 +44,4 @@ hugo version [flags]
* [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 13-Sep-2020
###### Auto generated by spf13/cobra on 18-Feb-2021