hugo 自动补全
hugo 自动补全
为指定的 shell 生成自动补全脚本
概要
为 hugo 生成指定 shell 的自动补全脚本。 有关如何使用生成的脚本的详细信息,请参阅每个子命令的帮助信息。
选项
-h, --help completion 帮助
从父命令继承的选项
--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 - 构建你的站点
- hugo completion bash - 为 bash 生成自动补全脚本
- hugo completion fish - 为 fish 生成自动补全脚本
- hugo completion powershell - 为 powershell 生成自动补全脚本
- hugo completion zsh - 为 zsh 生成自动补全脚本