Skip to content

Extended ProtocolConsoleKitTerminal

Console

Adds the ability to run Commands on a Console.
extension Console

Topics

Instance Methods

  • func run(_:input:)
    Runs an AnyAsyncCommand (AsyncCommandGroup or AsyncCommand) of commands on this Console using the supplied CommandInput.
  • func run(_:with:)
    Runs an AnyAsyncCommand (AsyncCommandGroup or AsyncCommand) of commands on this Console using the supplied CommandContext.