Structures

The following structures are available globally.

  • A command component that serves as an argument, e.g. a file path that’s passed directly to an executable

    See more

    Declaration

    Swift

    public struct Argument : CommandComponent
  • Type that can be used to construct safely formated shell commands

    See more

    Declaration

    Swift

    public struct Command
  • Undocumented

    See more

    Declaration

    Swift

    @resultBuilder
    public struct CommandBuilder
  • A command component that is represents a flag, e.g. --verbose

    See more

    Declaration

    Swift

    public struct Flag : CommandComponent
  • A command component that is represents an option, e.g. --theme full-width

    See more

    Declaration

    Swift

    public struct Option : CommandComponent
  • Undocumented

    See more

    Declaration

    Swift

    public struct ConsoleMenu
  • Undocumented

    See more

    Declaration

    Swift

    public struct ConsoleMenuCommand
  • A type that can be used to launch bash commands

    See more

    Declaration

    Swift

    public struct Shell
  • Undocumented

    See more

    Declaration

    Swift

    public struct ShellReader
  • A container struct for text styling in a terminal

    See more

    Declaration

    Swift

    public struct Terminal