@rado-h: the "one command at a time" plan was for newly added commands, existing one should stay as they are while a full rework is done. Current command sometimes relies too much on PHP, so porting just one command without breaking the others would be a pain in the ass.

That's why I made the upgrade with bash, and on the other hand started a `bash-rework` branch on my fork.

@c9s: I'm not sure this would work out of the box. It's a correct ini format, so PHP would, for exemple, correctly understand that `$VARIANTS = array(' variant1', 'variant2`)` but for bash, it would be a string, not an array (without any additional processing).
That's why I relied on PHP for now, it's not the best way, but there is no way to make something work in both as is.