public function colorCheckCommand(): void
    {
        // $char= '❤';
        // $ret = ProcessUtil::run('echo ❤');
        // var_dump($ret, trim($ret[1]), $char === trim($ret[1]));
        //
        // die;

        $this->output->aList([
            'basic color output?' => Cli::isSupportColor() ? '<info>Y</info>' : 'N',
            'ansi char output?'   => Cli::isAnsiSupport() ? 'Y' : 'N',
            '256 color output?'   => Cli::isSupport256Color() ? 'Y' : 'N',
            'font symbol output?' => Cli::isSupport256Color() ? 'Y' : 'N',
        ], 'color support check');
    }
public function colorCheckCommand(): void
    {
        // $char= '❤';
        // $ret = ProcessUtil::run('echo ❤');
        // var_dump($ret, trim($ret[1]), $char === trim($ret[1]));
        //
        // die;

        $this->output->aList([
            'basic color output?' => Cli::isSupportColor() ? '<info>Y</info>' : 'N',
            'ansi char output?'   => Cli::isAnsiSupport() ? 'Y' : 'N',
            '256 color output?'   => Cli::isSupport256Color() ? 'Y' : 'N',
            'font symbol output?' => Cli::isSupport256Color() ? 'Y' : 'N',
        ], 'color support check');
    }
public function colorCheckCommand ( ) : void { // $char= '❤'; // $ret = ProcessUtil::run('echo ❤'); // var_dump($ret, trim($ret[1]), $char === trim($ret[1])); // // die; $ this -> output -> aList ( [ 'basic color output?' => Cli :: isSupportColor ( ) ? '<info>Y</info>' : 'N' , 'ansi char output?' => Cli :: isAnsiSupport ( ) ? 'Y' : 'N' , '256 color output?' => Cli :: isSupport256Color ( ) ? 'Y' : 'N' , 'font symbol output?' => Cli :: isSupport256Color ( ) ? 'Y' : 'N' , ] , 'color support check' ) ; }
check color support for current env.
check color support for current env .