docs: Regenerate CLI docs

This commit is contained in:
Bjørn Erik Pedersen 2023-07-30 18:54:08 +02:00
parent fbb8eb39ec
commit d297c8e1b5
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
13 changed files with 13 additions and 12 deletions

View file

@ -27,7 +27,7 @@ hugo [flags]
-D, --buildDrafts include content marked as draft -D, --buildDrafts include content marked as draft
-E, --buildExpired include expired content -E, --buildExpired include expired content
-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_$USER/ --cacheDir string filesystem path to cache directory
--cleanDestinationDir remove files from destination not found in static directories --cleanDestinationDir remove files from destination not found in static directories
--clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
--config string config file (default is hugo.yaml|json|toml) --config string config file (default is hugo.yaml|json|toml)

View file

@ -62,3 +62,4 @@ hugo completion bash
### SEE ALSO ### SEE ALSO
* [hugo completion](/commands/hugo_completion/) - Generate the autocompletion script for the specified shell * [hugo completion](/commands/hugo_completion/) - Generate the autocompletion script for the specified shell

View file

@ -19,7 +19,7 @@ hugo config [command] [flags]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
--format string preferred file format (toml, yaml or json) (default "toml") --format string preferred file format (toml, yaml or json) (default "toml")
-h, --help help for config -h, --help help for config

View file

@ -15,7 +15,7 @@ hugo config mounts [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for mounts -h, --help help for mounts
-t, --theme strings themes to use (located in /themes/THEMENAME/) -t, --theme strings themes to use (located in /themes/THEMENAME/)

View file

@ -20,7 +20,7 @@ hugo mod clean [flags] [args]
``` ```
--all clean entire module cache --all clean entire module cache
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for clean -h, --help help for clean
--pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*" --pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*"

View file

@ -21,7 +21,7 @@ hugo mod graph [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
--clean delete module cache for dependencies that fail verification --clean delete module cache for dependencies that fail verification
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for graph -h, --help help for graph

View file

@ -26,7 +26,7 @@ hugo mod init [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for init -h, --help help for init
-t, --theme strings themes to use (located in /themes/THEMENAME/) -t, --theme strings themes to use (located in /themes/THEMENAME/)

View file

@ -29,7 +29,7 @@ hugo mod npm pack [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for pack -h, --help help for pack
-t, --theme strings themes to use (located in /themes/THEMENAME/) -t, --theme strings themes to use (located in /themes/THEMENAME/)

View file

@ -15,7 +15,7 @@ hugo mod tidy [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for tidy -h, --help help for tidy
-t, --theme strings themes to use (located in /themes/THEMENAME/) -t, --theme strings themes to use (located in /themes/THEMENAME/)

View file

@ -21,7 +21,7 @@ hugo mod vendor [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for vendor -h, --help help for vendor
-t, --theme strings themes to use (located in /themes/THEMENAME/) -t, --theme strings themes to use (located in /themes/THEMENAME/)

View file

@ -19,7 +19,7 @@ hugo mod verify [flags] [args]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
--clean delete module cache for dependencies that fail verification --clean delete module cache for dependencies that fail verification
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-h, --help help for verify -h, --help help for verify

View file

@ -26,7 +26,7 @@ hugo new content [path] [flags]
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/ --cacheDir string filesystem path to cache directory
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
--editor string edit new content with this editor, if provided --editor string edit new content with this editor, if provided
-f, --force overwrite file if it already exists -f, --force overwrite file if it already exists

View file

@ -33,7 +33,7 @@ hugo server [command] [flags]
-D, --buildDrafts include content marked as draft -D, --buildDrafts include content marked as draft
-E, --buildExpired include expired content -E, --buildExpired include expired content
-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_$USER/ --cacheDir string filesystem path to cache directory
--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
--disableBrowserError do not show build errors in the browser --disableBrowserError do not show build errors in the browser