Peforms the same task as CommandResolver.resolve, except that it will also advance the given parser to the
next unparsed argument.
Description:
For example, you've defined "set verbose" as a command, and you pass in an ArgPullParser(["set", "verbose", "true"]).
This function will match with the "set verbose" sentence, and will advance the parser so that it will now be ArgPullParser(["true"]), ready
for your application code to perform additional processing (e.g. arguments).
Peforms the same task as CommandResolver.resolve, except that it will also advance the given parser to the next unparsed argument.
Description: For example, you've defined "set verbose" as a command, and you pass in an ArgPullParser(["set", "verbose", "true"]).
This function will match with the "set verbose" sentence, and will advance the parser so that it will now be ArgPullParser(["true"]), ready for your application code to perform additional processing (e.g. arguments).