gen-config-catalog

command
v0.3.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

gen-config-catalog 从 pluginkit 注册表生成 docs/config-catalog.zh.md: 每个 kind 的 config 字段(类型/可选/默认值/字段注释)、deps 扩展点与源码链接。 默认值来自 Config 的 SetDefaults(pluginkit.Defaulter),字段注释来自源码 AST。

用法:

go run ./scripts/gen-config-catalog           # 重新生成文档
go run ./scripts/gen-config-catalog -check    # CI:文档过期则退出非零

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL