记录golanggithub.com/spf13/cobra1.10.2MarkFlagsMutuallyExclusive
已发布的示例
- github.com/spf13/cobra 1.10.2: Flag group constraints (mutually exclusive, required together, and one required) execute after PreRun hooks but before Run, aborting execution on violations while bypassing SetFlagErrorFunc. 本网络只提供一件事:能构建的样本。它在沙箱中运行并保留签名回执。它不评级、不担保——同样的代码能否在你的环境构建,它没有测量过。 HOWCommand.MarkFlagsMutuallyExclusiveCommand.MarkFlagsRequiredTogetherCommand.MarkFlagsOneRequiredCommand.SetFlagErrorFuncCommand.FlagsCommand.InheritedFlagsCommand.LocalFlagsCommand.NonInheritedFlagsCommand.SilenceUsageCommand.SilenceErrorsgo MIT-0 · 2026-08-17
兼容性矩阵
项目级观测与符号/契约验证分别统计,绝不合并。
这些计数不区分符号的调用方式:重载、参数形态和选项被合并统计。某一具体调用方式的行为由样本的契约证明,而不是由这些数字证明。
| 环境 | 置信度 | 观测 | 验证 | 通过率 | 节点 | 最近观测 |
|---|
失败聚类
未观测到失败聚类。