mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Regenerate CLI docs
This commit is contained in:
parent
51d0a0ab01
commit
20ea2e0c65
10 changed files with 59 additions and 19 deletions
|
@ -18,8 +18,12 @@ hugo config [command] [flags]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
|
||||||
-h, --help help for config
|
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||||
|
-h, --help help for config
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -14,7 +14,11 @@ hugo config mounts [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for mounts
|
-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/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for mounts
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -18,9 +18,13 @@ hugo mod clean [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--all clean entire module cache
|
--all clean entire module cache
|
||||||
-h, --help help for clean
|
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
|
||||||
--pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*"
|
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for clean
|
||||||
|
--pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*"
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -20,8 +20,12 @@ hugo mod graph [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--clean delete module cache for dependencies that fail verification
|
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
|
||||||
-h, --help help for graph
|
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||||
|
--clean delete module cache for dependencies that fail verification
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for graph
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -25,7 +25,11 @@ hugo mod init [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for init
|
-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/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for init
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -28,7 +28,11 @@ hugo mod npm pack [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for pack
|
-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/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for pack
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -14,7 +14,11 @@ hugo mod tidy [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for tidy
|
-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/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for tidy
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -20,7 +20,11 @@ hugo mod vendor [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for vendor
|
-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/
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for vendor
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -18,8 +18,12 @@ hugo mod verify [flags] [args]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--clean delete module cache for dependencies that fail verification
|
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
|
||||||
-h, --help help for verify
|
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||||
|
--clean delete module cache for dependencies that fail verification
|
||||||
|
-c, --contentDir string filesystem path to content directory
|
||||||
|
-h, --help help for verify
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
|
@ -25,11 +25,15 @@ hugo new content [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. https://spf13.com/
|
||||||
-f, --force overwrite file if it already exists
|
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
-c, --contentDir string filesystem path to content directory
|
||||||
-h, --help help for content
|
--editor string edit new content with this editor, if provided
|
||||||
-k, --kind string content type to create
|
-f, --force overwrite file if it already exists
|
||||||
|
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||||
|
-h, --help help for content
|
||||||
|
-k, --kind string content type to create
|
||||||
|
-t, --theme strings themes to use (located in /themes/THEMENAME/)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
Loading…
Reference in a new issue