CommandLineArguments

struct CommandLineArguments

A data structure that contains the command line arguments for the execution context.

  • The name of the file to open on startup. Defaults to nil (no file).

    Declaration

    Swift

    public let startLevel: String?
  • Whether to enable AI mode. Defaults to false.

    Declaration

    Swift

    public let useAgentTesting: Bool
  • The type of agent to use in AI mode.

    Declaration

    Swift

    public let agentTestingType: AgentTestingType
  • The maximum number of moves the agent can make at a time.

    Declaration

    Swift

    public let agentMoveRate: Int?
  • An enumeration that represents the AI mode types.

    See more

    Declaration

    Swift

    enum AgentTestingType : String, CaseIterable