mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-20 20:44:45 +00:00
docs: Regen CLI docs
This commit is contained in:
parent
a838a27e4c
commit
ffdbce5787
34 changed files with 5 additions and 35 deletions
docs/content/en/commands
hugo.mdhugo_completion.mdhugo_completion_bash.mdhugo_completion_fish.mdhugo_completion_powershell.mdhugo_completion_zsh.mdhugo_config.mdhugo_config_mounts.mdhugo_convert_toJSON.mdhugo_convert_toTOML.mdhugo_convert_toYAML.mdhugo_env.mdhugo_gen.mdhugo_gen_chromastyles.mdhugo_gen_doc.mdhugo_gen_man.mdhugo_import.mdhugo_import_jekyll.mdhugo_list_all.mdhugo_list_drafts.mdhugo_list_expired.mdhugo_list_future.mdhugo_mod_clean.mdhugo_mod_get.mdhugo_mod_graph.mdhugo_mod_init.mdhugo_mod_npm.mdhugo_mod_npm_pack.mdhugo_mod_tidy.mdhugo_mod_vendor.mdhugo_mod_verify.mdhugo_new_content.mdhugo_new_site.mdhugo_version.md
|
@ -39,7 +39,6 @@ hugo [flags]
|
|||
--enableGitInfo add Git revision, date, author, and CODEOWNERS info to the pages
|
||||
-e, --environment string build environment
|
||||
--forceSyncStatic copy all files when static is changed.
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--gc enable to run some cleanup tasks (remove unused cache files) after the build
|
||||
-h, --help help for hugo
|
||||
--ignoreCache ignores the cache directory
|
||||
|
|
|
@ -28,7 +28,6 @@ See each sub-command's help for details on how to use the generated script.
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -51,7 +51,6 @@ hugo completion bash
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -42,7 +42,6 @@ hugo completion fish [flags]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -39,7 +39,6 @@ hugo completion powershell [flags]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -53,7 +53,6 @@ hugo completion zsh [flags]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -18,7 +18,8 @@ hugo config [command] [flags]
|
|||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for config
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
-h, --help help for config
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -26,7 +26,6 @@ hugo config mounts [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -31,7 +31,6 @@ hugo convert toJSON [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -31,7 +31,6 @@ hugo convert toTOML [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -31,7 +31,6 @@ hugo convert toYAML [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo env [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -26,7 +26,6 @@ hugo gen [command] [flags]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -35,7 +35,6 @@ hugo gen chromastyles [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -36,7 +36,6 @@ hugo gen doc [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -33,7 +33,6 @@ hugo gen man [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -32,7 +32,6 @@ hugo import [command] [flags]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -33,7 +33,6 @@ hugo import jekyll [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo list all [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo list drafts [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo list expired [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo list future [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -32,7 +32,6 @@ hugo mod clean [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -56,7 +56,6 @@ hugo mod get [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -33,7 +33,6 @@ hugo mod graph [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -37,7 +37,6 @@ hugo mod init [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo mod npm [command] [flags]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -40,7 +40,6 @@ hugo mod npm pack [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -26,7 +26,6 @@ hugo mod tidy [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -32,7 +32,6 @@ hugo mod vendor [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -31,7 +31,6 @@ hugo mod verify [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
|
@ -27,6 +27,7 @@ hugo new content [path] [flags]
|
|||
```
|
||||
--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
|
||||
```
|
||||
|
|
|
@ -20,9 +20,8 @@ hugo new site [path] [flags]
|
|||
### Options
|
||||
|
||||
```
|
||||
--force init inside non-empty directory
|
||||
-f, --format string config file format (default "toml")
|
||||
-h, --help help for site
|
||||
-f, --force init inside non-empty directory
|
||||
-h, --help help for site
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -30,7 +30,6 @@ hugo version [flags] [args]
|
|||
--debug debug output
|
||||
-d, --destination string filesystem path to write files to
|
||||
-e, --environment string build environment
|
||||
--format string preferred file format (toml, yaml or json) (default "toml")
|
||||
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
|
||||
--log enable Logging
|
||||
--logFile string log File path (if set, logging enabled automatically)
|
||||
|
|
Loading…
Add table
Reference in a new issue