-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse original input command line was not supportted #15
Comments
It's actually quite simple to split the args yourself. Assuming Args.parse(target, commandLine.split(" ")); As you can see, we just public static List<String> parse(Object target, String commandLine) {
return parse(target, commandLine.split(" "), true);
} Which would do exactly what you asked. |
That wouldn't work with quoted sections in the command line. I never saw what motivated this additional api though? |
com.sampullara.cli.Args.parse() only support args split into array already, hope that one override method like: com.sampullara.cli.Args.parse(Object target, String commandLine) would be added someday...
The text was updated successfully, but these errors were encountered: