Open erlangparasu opened 1 year ago
Example
final commandParser = RawCommandParser();
List<String> args = commandParser.parse('git branch -v');
// ["git", "branch", "-v"]
This is done at a higher level generally (since main
takes a List<String>
already). What is the use case that you have for this? There are probably a lot more edge cases than you might think, and I am not sure it's something we really want to own/maintain.
my use case is for parsing complete command for example curl command
Parse complete command string to List