I've never used BitBar and don't know if I'm breaking compatibility by doing this, but here's how I think arguments should be parsed.
| arg1=value1 arg2=value\ 2 "arg3=value 3" arg4="value 4" and arg5=value" 5" 'arg 6=value 6'
Should all break down into argN=value N, kind of like how a shell would do. (I don't plan to have any keys with spaces in them, but the argument parser shouldn't care).
Gathering some feedback before I take a crack at implementing it.
I've never used BitBar and don't know if I'm breaking compatibility by doing this, but here's how I think arguments should be parsed.
| arg1=value1 arg2=value\ 2 "arg3=value 3" arg4="value 4" and arg5=value" 5" 'arg 6=value 6'Should all break down into
argN=value N, kind of like how a shell would do. (I don't plan to have any keys with spaces in them, but the argument parser shouldn't care).Gathering some feedback before I take a crack at implementing it.