Classes/Console/Command/ConfigurationCommandController.php
public function showActiveCommand($path, $json = false)
    {
        if (!$this->configurationService->hasActive($path)) {
            $this->outputLine('<error>No configuration found for path "%s"</error>', [$path]);
            $this->quit(1);
        }
        $active = $this->configurationService->getActive($path);
        $this->outputLine($this->consoleRenderer->render($active, $json));
    }
public function showActiveCommand($path, $json = false)
    {
        if (!$this->configurationService->hasActive($path)) {
            $this->outputLine('<error>No configuration found for path "%s"</error>', [$path]);
            $this->quit(1);
        }
        $active = $this->configurationService->getActive($path);
        $this->outputLine($this->consoleRenderer->render($active, $json));
    }
Show active configuration value

Shows active system configuration by path.
Shows the configuration value that is currently effective, no matter where and how it is set.

<b>Example:</b> <code>%command.full_name% DB --json</code>

@param string $path Path to system configuration
@param bool $json If set, the configuration is shown as JSON