* Update code example to align with snippet in CommandApp/DI documentation
* Renamed TypeRegistrar to MyTypeRegistrar, making it more obvious it is a custom class the user must provide.
When copying the code block, the `>` character is included in the copied text. This causes issues when pasting the code into the terminal, as it results in a failure.
This change removes the `>` to ensure a seamless copy-and-paste experience in the terminal.