FlagExclusivity
The options for treating enumeration-based flags as exclusive.
struct FlagExclusivity
The options for treating enumeration-based flags as exclusive.
struct FlagExclusivity
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
static var chooseFirst: FlagExclusivity { get }
The first enumeration case that is provided is used.
static var chooseLast: FlagExclusivity { get }
The last enumeration case that is provided is used.
static var exclusive: FlagExclusivity { get }
Only one of the enumeration cases may be provided.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.