Consuming
struct Consuming : ConsumingCommandArgumentConvertible
Helper to create consuming String
arguments.
Command("test")
.arg(String.Consuming.self, "consumingString")
-
Declaration
Swift
public static var typedName: String { get }
-
Declaration
Swift
public typealias ResolvedArgument = String
-
Declaration
Swift
public static func resolveArgument(_ argument: String, on event: CommandEvent) throws -> String