'@yii/console/commands', ); $id = 'yiic'; $basePath = __DIR__ . '/console'; yii\console\Application::newInstance($config, $id, $basePath)->run();