Classes

The following classes are available globally.

  • A generic error from a syscall

    See more

    Declaration

    Swift

    public class SyscallError : Error, CommandResult, CustomStringConvertible
  • Represents an external program invocation. It is the lowest-level command, that will spawn a subprocess when run.

    See more

    Declaration

    Swift

    public class ExternalCommand : Command, CustomStringConvertible
  • A Pipeline is 0 or more pipes connecting 1 or more subcommands together like bash’s a | b | ...

    See more

    Declaration

    Swift

    public class Pipeline : Command
    extension Pipeline: CustomStringConvertible