Class CommandLineOptions
java.lang.Object
org.spongepowered.asm.launch.platform.CommandLineOptions
public final class CommandLineOptions
extends java.lang.Object
Options passed in to Mixin via the command line
-
Method Summary
Modifier and Type Method Description static CommandLineOptionsdefaultArgs()Create a CommandLineOptions with default args (read from system property)java.util.List<java.lang.String>getConfigs()static CommandLineOptionsof(java.util.List<java.lang.String> configs)Create a CommandLineOptions using the supplied list of pre-parsed configsstatic CommandLineOptionsofArgs(java.util.List<java.lang.String> args)Create a CommandLineOptions using the supplied unparsed argument list.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getConfigs
public java.util.List<java.lang.String> getConfigs() -
defaultArgs
Create a CommandLineOptions with default args (read from system property)- Returns:
- CommandLineOptions instance
-
ofArgs
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
Create a CommandLineOptions using the supplied list of pre-parsed configs- Parameters:
configs- List of configs- Returns:
- CommandLineOptions instance
-