CommandLineParser

public final class CommandLineParser

Undocumented

  • Undocumented

    Declaration

    Swift

    public init()
  • Parse command line directly from the CommandLine enum.

    Declaration

    Swift

    public func parse(command: Command) throws -> Command
  • Parse command line arguments.

    Declaration

    Swift

    public func parseArguments(_ argumentsIncludingExecutable: [String],
                               command: Command) throws -> Command

    Parameters

    arguments

    Arguments, including the executable argument.