hugo gen man
hugo gen man
为 Hugo 命令行界面生成 man 帮助页
概要
此命令会自动生成 Hugo 命令行界面的最新 man 帮助页。默认情况下,它会在当前目录下的 “man” 目录中创建 man 帮助页文件。
hugo gen man [flags] [args]
选项
--dir string 写入 man 帮助页的目录。(默认值 "man/")
-h, --help man 命令的帮助
从父命令继承的选项
--clock string 设置 Hugo 使用的时钟,例如 --clock 2021-11-06T22:30:00.00+09:00
--config string 配置文件 (默认值为 hugo.yaml|json|toml)
--configDir string 配置文件目录 (默认值 "config")
-d, --destination string 文件写入的文件系统路径
-e, --environment string 构建环境
--ignoreVendorPaths string 忽略与给定 Glob 模式匹配的模块路径的任何 _vendor
--logLevel string 日志级别 (debug|info|warn|error)
--quiet 在静默模式下构建
-M, --renderToMemory 渲染到内存 (主要在运行服务器时有用)
-s, --source string 读取文件的相对文件系统路径
--themesDir string 主题目录的文件系统路径
另请参阅
- hugo gen - 生成文档和语法高亮样式