public static interface IArgParser.Stated<T,S> extends IArgParser<T>
ICommandArgument, but it also takes a second argument that can be any type, referred to as the state.
T parseArg(ICommandArgument arg, S state) throws java.lang.Exception
arg- The argument to parse.
state- Can be anything.
java.lang.RuntimeException- if you want the parsing to fail. The exception will be caught and turned into an appropriate error.