Recordsgolanggithub.com/spf13/cobrav1.10.2Command.LocalFlags
Published samples
- github.com/spf13/cobra v1.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. This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. HOWCommand.MarkFlagsMutuallyExclusiveCommand.MarkFlagsRequiredTogetherCommand.MarkFlagsOneRequiredCommand.SetFlagErrorFuncCommand.FlagsCommand.InheritedFlagsCommand.LocalFlagsCommand.NonInheritedFlagsCommand.SilenceUsageCommand.SilenceErrorsgo MIT-0 · 2026-08-17
- github.com/spf13/cobra v1.10.2: Drive a spf13/cobra command tree from a test with SetArgs and SetOut, without a subprocess, and tell the failure modes of Execute apart This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. HOWCommand.SetArgsCommand.ExecuteCommand.SetOutCommand.RunECommand.PersistentFlagsCommand.MarkFlagRequiredCommand.MarkPersistentFlagRequiredCommand.InheritedFlagsCommand.LocalFlagsCommand.SilenceUsageCommand.SilenceErrorscobra.ArbitraryArgscobra.NoArgsgo 1.26 MIT-0 · 2026-08-14
Compatibility matrix
Project-level observations and symbol/contract verifications are counted separately and never combined.
These counts do not distinguish how the symbol was called: overloads, argument shapes and options are pooled together. What a particular call shape does is proven by a sample's contract, not by these numbers.
| Environment | Confidence | Observations | Verified | Pass rate | Peers | Last seen |
|---|---|---|---|---|---|---|
| go 1.26 · Go · go · linux musl · docker
Verified: CONTRACT 3✓
|
MEDIUM | 0 | 3 | 100% | 0 · 2✓ | 2026-08-18 |
snapshot · 2026-09-15
Failure clusters
-
observed PROJECT_TEST Evidence gap ×76 v1.9.1 → v1.10.2 runtime=go@1.26Evidence quality: legacy-evidence-incomplete · Environment variants: 2 · First recorded: 2026-08-17 · Last seen: 2026-09-07Diagnostic re-verification candidate
-
observed PROJECT_PROCESS Evidence gap ×2 v1.10.2 os=windows · runtime=go@1.26Evidence quality: legacy-evidence-incomplete · Environment variants: 1 · First recorded: 2026-08-17 · Last seen: 2026-08-17Diagnostic re-verification candidate
-
observed UNKNOWN exit 1 Evidence gap ×1 v1.10.2 os=linux · runtime=go@1.26 sha256:f3a5a3011077…panic: interface conversion: interface {} is nil, not *caddy.Replacer · goroutine 1 [running]: …go · unclassified-diagnostic · outer go run · gap stage-unknownEvidence quality: complete · Environment variants: 1 · First recorded: 2026-08-29 · Last seen: 2026-08-29Diagnostic re-verification candidate
-
observed PROJECT_TEST exit 1 ×1 v1.10.2 os=linux · runtime=go@1.26 sha256:dda800f87ad3…--- FAIL: TestPathAndMethodMatchers (0.00s) · panic: interface conversion: interface {} is nil, not *caddy.Replacer [recovered, repanicked] …go/test · test-runner-diagnostic · outer go testEvidence quality: complete · Environment variants: 1 · First recorded: 2026-08-29 · Last seen: 2026-08-29