Classes/Console/Command/ConfigurationCommandController.php
public function showCommand($path)
    {
        $hasActive = $this->configurationService->hasActive($path);
        $hasLocal = $this->configurationService->hasLocal($path);
        if (!$hasActive && !$hasLocal) {
            $this->outputLine('<error>No configuration found for path "%s"</error>', [$path]);
            $this->quit(1);
        }
        $active = null;
        if ($hasActive) {
            $active = $this->configurationService->getActive($path);
        }
        if ($this->configurationService->localIsActive($path) && $hasActive) {
            $this->outputLine($this->consoleRenderer->render($active));
        } else {
            $local = null;
            if ($hasLocal) {
                $local = $this->configurationService->getLocal($path);
            }
            $this->outputLine($this->consoleRenderer->renderDiff($local, $active));
        }
    }
public function showCommand($path)
    {
        $hasActive = $this->configurationService->hasActive($path);
        $hasLocal = $this->configurationService->hasLocal($path);
        if (!$hasActive && !$hasLocal) {
            $this->outputLine('<error>No configuration found for path "%s"</error>', [$path]);
            $this->quit(1);
        }
        $active = null;
        if ($hasActive) {
            $active = $this->configurationService->getActive($path);
        }
        if ($this->configurationService->localIsActive($path) && $hasActive) {
            $this->outputLine($this->consoleRenderer->render($active));
        } else {
            $local = null;
            if ($hasLocal) {
                $local = $this->configurationService->getLocal($path);
            }
            $this->outputLine($this->consoleRenderer->renderDiff($local, $active));
        }
    }
Show configuration value

Shows system configuration value by path.
If the currently active configuration differs from the value in LocalConfiguration.php
the difference between these values is shown.

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

@param string $path Path to system configuration option