Separate comparison side selectors

This commit is contained in:
2026-11-07 04:36:05 +00:00
parent da120c2dd4
commit 85ae55bf42
15 changed files with 169 additions and 99 deletions

View File

@@ -141,6 +141,9 @@ type Selector[I any] struct {
Binding commandkit.Flag[I]
// Scopes lists the scope names that receive this flag's value.
Scopes []string
// AgainstName optionally declares the long name of an independent
// right-side comparison flag using the same parser and setter.
AgainstName string
}
// Suite declares the typed input, shared state, selectors, and configuration