FlagHelp
public struct FlagHelp
Structure that represent the information about a flag
-
Flag long name
Declaration
Swift
public let longName: String -
Flag short name
Declaration
Swift
public let shortName: String? -
Is flag required
Declaration
Swift
public let isRequired: Bool -
Flag value.
Declaration
Swift
public let value: FlagValue? -
Flag type description message
Declaration
Swift
public let typeDescription: String -
Flag description messae
Declaration
Swift
public let description: String -
Is flag a boolean
Declaration
Swift
public let isBoolean: Bool -
Was the flag changed by the passed arguments
Declaration
Swift
public let wasChanged: Bool -
Is the flag deprecated
Declaration
Swift
public let isDeprecated: Bool -
The flag deprecation message
Declaration
Swift
public let deprecationMessage: String?
View on GitHub
FlagHelp Structure Reference