Alan has written a great tutorial object manager argument replacement through di.xml . Everything works fine for me except nested arrays:
<type name="Pulsestorm\TutorialObjectManagerArguments\Model\Example">
<arguments>
<argument name="thearray" xsi:type="array">
<item name="baz" xsi:type="string">
<item name="0" xsi:type="string">one</item>
<item name="1" xsi:type="string">two</item>
</item>
</argument>
</arguments>
</type>
After using above di.xml configuration and running php bin/magento ps:tutorial-object-manager-arguments it says
There are no commands defined in the "ps" namespace
I'm missing something or the process of nesting arrays is changed now ?