Remove leading options from a command string by parsing it with the provided parse function and returning the remaining command string.
Remove leading options from a command string by parsing it with the provided parse function and returning the remaining command string.