Bug #103858
opentypo3 list command does not work propperly for other formats then txt
0%
Description
ddev exec bin/typo3 list
and
ddev exec bin/typo3 list --format=json > commands.json
For example the first contains the site namespace while it is missing in the second.
I verified this to happen in the current main-Core and in installations of TYPO3 13.1 and 12.4.
I suspect this is to the fact that the ListCommand registers a custom TextDescriptor
for format txt but not the other supported formats.
We - the documentation team - want to use the json format to auto-generate documentation:
https://github.com/TYPO3-Documentation/t3docs-console-command so this bug is now really hindering that...
Updated by Garvin Hicking 20 days ago
I'll try to get at least a PoC for this as a core patch. Problem is the main TextDescriptor is heavily patched from vanilla symfony, and all that had to be duplicated to the jsonDescriptor (and probably xml too). Might be harder than it sounds due to all that custom processing.