Could be returned as a JSON string and loaded into an array.
Where you could evalute that array contains value to check for flags.
Example situation :
Launching the nw with a combination of flags has different effect on the application
nw.exe -d Start app in debug mode
nw.exe -cheat Enable cheats.
nw.exe -lvl2 Start on level two
nw.exe -d -cheat -lvl2 Multiple props
Seeing how it's only one expression and peanuts to implement I thought I'd suggest it.
Might be useful for some projects?
Develop games in your browser. Powerful, performant & highly capable.