Skip to content

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)