String
extension String: CommandArgumentConvertible
-
Declaration
Swift
public static func resolveArgument(_ argument: String, on event: CommandEvent) throws -> String
-
Helper to create consuming
String
arguments.
See moreCommand("test") .arg(String.Consuming.self, "consumingString")
Declaration
Swift
struct Consuming : ConsumingCommandArgumentConvertible