Class CommandLineOptions

java.lang.Object
org.spongepowered.asm.launch.platform.CommandLineOptions

public final class CommandLineOptions extends Object
Options passed in to Mixin via the command line
  • Method Details

    • getConfigs

      public List<String> getConfigs()
    • defaultArgs

      public static CommandLineOptions defaultArgs()
      Create a CommandLineOptions with default args (read from system property)
      Returns:
      CommandLineOptions instance
    • ofArgs

      public static CommandLineOptions ofArgs(List<String> args)
      Create a CommandLineOptions using the supplied unparsed argument list. Uses args from system property if
      Parameters:
      args - Argument list to parse, can be null
      Returns:
      CommandLineOptions instance
    • of

      public static CommandLineOptions of(List<String> configs)
      Create a CommandLineOptions using the supplied list of pre-parsed configs
      Parameters:
      configs - List of configs
      Returns:
      CommandLineOptions instance