Add literal spacing to strings so .cmd " a b " now passes a b for arg
Add escapes \ to strings so .cmd "hey \"pal\"" now passes hey "pal" for arg
I'm unsure if this could break any existing commands, or misses some edge case, but I think it moves the user experience forward. Overall the test suite has more coverage and I tested E2E with a plugin.
This addresses how input command strings are split into parts, considering a command like
.cmd "a"
now passesa
for arg.cmd " a b "
now passesa b
for arg\
to strings so.cmd "hey \"pal\""
now passeshey "pal"
for argI'm unsure if this could break any existing commands, or misses some edge case, but I think it moves the user experience forward. Overall the test suite has more coverage and I tested E2E with a plugin.