Context

public protocol Context : CustomDebugStringConvertible

Undocumented

  • env

    Undocumented

    Declaration

    Swift

    var env: [String : String] { get set }
  • Undocumented

    Declaration

    Swift

    var stdin: ReadableStream { get set }
  • Undocumented

    Declaration

    Swift

    var stdout: WritableStream { get set }
  • Undocumented

    Declaration

    Swift

    var stderror: WritableStream { get set }
  • The current working directory.

    Must be used instead of run("cd", "...") because all the run commands are executed in a separate process and changing the directory there will not affect the rest of the Swift script.

    Declaration

    Swift

    var currentdirectory: String { get set }
  • debugDescription Extension method

    A textual representation of this instance, suitable for debugging.

    Declaration

    Swift

    public var debugDescription: String { get }