Argument

public struct Argument : CommandComponent

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

  • Declaration

    Swift

    public var stringRepresentation: String? { get }
  • Initialises a new Argument instance

    Declaration

    Swift

    public init(_ name: String?)

    Parameters

    name

    the argument