#111544Backend routes and their options are hard to explore on the command line
Description
Problem
debug:backend:routes prints one table row per route: about 170 routes from Routes.php and AjaxRoutes.php plus the routes of every backend module. The table cuts long targets and does not show the route options at all. --json shows the options, but objects in them, such as the module of a module route, become empty JSON objects. Finding the route of a controller or looking at the options of one route means scrolling or piping the output through other tools.
Proposal
An option --interactive, short -i, that opens the browser of lowlevel:inspect -i (see the issue “Browse the Configuration module data interactively with lowlevel:inspect”) on the routes.
- One entry per route, grouped by type (module, route, AJAX route), with method and path above the preview.
- The fields of
--jsoncan be opened like any other level, objects in the options show their properties. --filter,--limitand--accessnarrow the routes before the browser opens.- Leaving with
qprints the name of the selected route, soroute=$(bin/typo3 debug:backend:routes -i)captures it. - The browser comes with EXT:lowlevel. Without it, without a terminal, and together with
--jsonor--no-interaction, the command exits with code 2 and says why.
Reviews 1
Related issues 1
History 12
-
Matthias Vogel changed Related to #111375 11/24/26, 05:57
-
Gerrit Code Review pushed patch set 2 for main to change 97913 status
NewUnder Review 11/30/26, 09:11