public IEnumerable <ICommandLineElement> Parse(string commandLine) { var parser = new StringCommandLineParser(); Result <string, ICommandLineElement> result = parser.All(commandLine); while (result != null) { yield return(result.Value); result = parser.All(result.Rest); } }