Parse repeated --mode id=value pairs into a launch's modes: true and false set a toggle, and any other value names a choice's option. Fails loud on a missing =, an empty id or value, or an id given twice. Returns undefined when there are none.
--mode id=value
true
false
=
Parse repeated
--mode id=valuepairs into a launch's modes:trueandfalseset a toggle, and any other value names a choice's option. Fails loud on a missing=, an empty id or value, or an id given twice. Returns undefined when there are none.