You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
It's actually quite simple to split the args yourself. Assuming commandLine is a string containing all the command line arguments, you can pass to Args.parse() like this:
Args.parse(target, commandLine.split(" "));
As you can see, we just split() the string every time there is a space, and this method will return an array. Otherwise, it would be incredibly simple to implement this method in the Args class:
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: