src/Telescope.php
protected static function runningApprovedArtisanCommand($app)
    {
        return $app->runningInConsole() && ! in_array(
            $_SERVER['argv'][1] ?? null,
            array_merge([
                // 'migrate',
                'migrate:rollback',
                'migrate:fresh',
                // 'migrate:refresh',
                'migrate:reset',
                'migrate:install',
                'package:discover',
                'queue:listen',
                'queue:work',
                'horizon',
                'horizon:work',
                'horizon:supervisor',
            ], config('telescope.ignoreCommands', []), config('telescope.ignore_commands', []))
        );
    }
protected static function runningApprovedArtisanCommand($app)
    {
        return $app->runningInConsole() && ! in_array(
            $_SERVER['argv'][1] ?? null,
            array_merge([
                // 'migrate',
                'migrate:rollback',
                'migrate:fresh',
                // 'migrate:refresh',
                'migrate:reset',
                'migrate:install',
                'package:discover',
                'queue:listen',
                'queue:work',
                'horizon',
                'horizon:work',
                'horizon:supervisor',
            ], config('telescope.ignoreCommands', []), config('telescope.ignore_commands', []))
        );
    }
protected static function runningApprovedArtisanCommand ( $ app ) { return $ app -> runningInConsole ( ) && ! in_array ( $ _SERVER [ 'argv' ] [ 1 ] ?? null , array_merge ( [ // 'migrate', 'migrate:rollback' , 'migrate:fresh' , // 'migrate:refresh', 'migrate:reset' , 'migrate:install' , 'package:discover' , 'queue:listen' , 'queue:work' , 'horizon' , 'horizon:work' , 'horizon:supervisor' , ] , config ( 'telescope.ignoreCommands' , [ ] ) , config ( 'telescope.ignore_commands' , [ ] ) ) ) ; }
Determine if the application is running an approved command.

@param  \Illuminate\Foundation\Application  $app
@return bool
Determine if the application is running an approved command .