package
Version:
v2.2.0
Opens a new window with list of versions in this module.
Published: Jul 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package flags 提供 CLI 命令行参数(flag)的全局聚合注册表。
各模块在 init() 中通过 Register 注册自己的 flag,
命令入口(lavabuilder)再通过 GetFlags 统一收集并挂载到根命令上。
GetFlags 返回所有已注册的 CLI flag。
Register 注册一个 CLI flag。通常在包的 init() 中调用。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.