src/Command/AppCommand.php
public function env(Output $output): void
    {
        $info = [
            // "<bold>System environment info</bold>\n",
            'OS'             => \PHP_OS,
            'Php version'    => \PHP_VERSION,
            'Swoole version' => \SWOOLE_VERSION,
            'Swoft version'  => \Swoft::VERSION,
            'App Name'       => \config('name', 'unknown'),
            'Base Path'      => \BASE_PATH,
        ];

        Show::aList($info, 'System Environment Info');
    }
public function env(Output $output): void
    {
        $info = [
            // "<bold>System environment info</bold>\n",
            'OS'             => \PHP_OS,
            'Php version'    => \PHP_VERSION,
            'Swoole version' => \SWOOLE_VERSION,
            'Swoft version'  => \Swoft::VERSION,
            'App Name'       => \config('name', 'unknown'),
            'Base Path'      => \BASE_PATH,
        ];

        Show::aList($info, 'System Environment Info');
    }
Print current system environment information

@CommandMapping()

@param Output $output

@throws \RuntimeException
@throws \Swoft\Bean\Exception\ContainerException