docs: Regenerate CLI docs

This commit is contained in:
Bjørn Erik Pedersen
2023-05-28 13:07:47 +02:00
parent 51d0a0ab01
commit 20ea2e0c65
10 changed files with 59 additions and 19 deletions

View File

@@ -25,11 +25,15 @@ hugo new content [path] [flags]
### Options
```
--editor string edit new content with this editor, if provided
-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
-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
-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