**Describe the feature** `di.xml` may be scoped in `adminhtml`, `frontend`, `graphql`, `webapi_rest` or `webapi_soap` subdirectories of `etc/`. Those should also be considered when loading plugins, commands, etc. and writing them.