CommandOptions

public struct CommandOptions

Command Options structure

  • Array of command aliases

    Declaration

    Swift

    public var aliases = [String]()
  • Used to describe the action of the command

    Declaration

    Swift

    public var description = "No description"
  • Wether or not the command is case sensitive or not

    Declaration

    Swift

    public var isCaseSensitive: Bool? = nil
  • Required command options

    Declaration

    Swift

    public var requirements = CommandRequirements()
  • Defines the separator used when parsing a command

    Declaration

    Swift

    public var separator = " "
  • Creates a default CommandOptions

    Declaration

    Swift

    public init()