Resolve an optional flag with "--exclude-all" overrides.
If excludeAll is set and the individual "...-off" is not, force true.
If excludeAllOff is set and the individual flag is not explicitly set, unset.
Otherwise, adopt the default (true → set; false/undefined → unset).
Resolve an optional flag with "--exclude-all" overrides. If excludeAll is set and the individual "...-off" is not, force true. If excludeAllOff is set and the individual flag is not explicitly set, unset. Otherwise, adopt the default (true → set; false/undefined → unset).