Issue Feature Under Review

#111375Browse the Configuration module data interactively with lowlevel:inspect

Matthias Vogel 11/09/26, 10:29 updated 11/21/26, 12:08

Description

Problem

lowlevel:inspect (see the issue “Show the data of the Configuration module on the command line”) shows the data of the System > Configuration backend module, but only for keys you already know: every further level is another call. Exploring an unknown provider, finding where a value sits in the TCA or comparing raw and translated labels means many calls and a lot of scrolling.

Proposal

An option --interactive, short -i, that browses the same data in the terminal.

  • One level per screen: its keys on the left, the selected entry on the right as a small tree or as the complete value, the path as a breadcrumb on top.
  • Arrow keys move and go in and out, also with the keys known from less and vim; ? lists all keys.
  • / searches keys and values below the current level like the search of the backend module; n and N go to the next and previous hit.
  • L switches between raw label references and translated labels, starting with the state of --resolve-labels.
  • Without arguments it starts on the provider list; path arguments set the level to start on.
  • Leaving with q prints the lowlevel:inspect call for the selected entry to stdout, while the browser draws on stderr, so path=$(bin/typo3 lowlevel:inspect -i tca) captures it.
  • Without a terminal, and together with --format, --depth, --no-size-limit or --no-interaction, the command exits with code 2.

No new dependency: the browser is built on Symfony Console.

Reviews 1

History 13