A simple enough command line parser.
Split the line into tokens separated by whitespace or quotes.
Invoke errorFn with message on bad quote.
errorFn