Issue Bug Closed

#103858typo3 list command does not work propperly for other formats then txt

Lina Wolf 05/19/24, 10:11 updated 09/21/24, 18:50

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…

Reviews 1