Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance MethodConsoleKitTerminal

run(_:with:)

Runs an AnyAsyncCommand (AsyncCommandGroup or AsyncCommand) of commands on this Console using the supplied CommandContext.
func run(_ command: any AnyAsyncCommand, with context: CommandContext) async throws

Discussion

try console.run(group, with: context)