Issue Feature Under Review

#111544Backend routes and their options are hard to explore on the command line

Matthias Vogel 11/24/26, 05:57 updated 11/30/26, 09:11

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 --json can be opened like any other level, objects in the options show their properties.
  • --filter, --limit and --access narrow the routes before the browser opens.
  • Leaving with q prints the name of the selected route, so route=$(bin/typo3 debug:backend:routes -i) captures it.
  • The browser comes with EXT:lowlevel. Without it, without a terminal, and together with --json or --no-interaction, the command exits with code 2 and says why.

Reviews 1

History 12

  1. Matthias Vogel changed Related to #111375 11/24/26, 05:57

  2. Gerrit Code Review pushed patch set 2 for main to change 97913 status New Under Review 11/30/26, 09:11