mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
||||||
--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
|
||||||
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
-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
|
||||||
|
|
|
@ -19,8 +19,12 @@ 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/
|
||||||
|
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||||
|
-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*"
|
||||||
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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/
|
||||||
--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
|
||||||
-h, --help help for graph
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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/
|
||||||
--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
|
||||||
-h, --help help for verify
|
-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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
-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
|
||||||
--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
|
||||||
--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 content
|
-h, --help help for content
|
||||||
-k, --kind string content type to create
|
-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