/** * Execute the console command. * * @return mixed */ public function fire() { // setup for development of this package echo "This will assist Artistan/Workbench development by composer dump and such\n please pass -c to publish config. do not edit this config unless adding features.\n\n"; // publish config to package configs... if ($this->option('publishConfig')) { $this->benchhelper->exec('php artisan config:publish --path="workbench/artistan/workbench/src/config" artistan/workbench'); echo "update configs in app/config/packages/artistan/workbench/config.php\n"; } $this->benchhelper->composerVendorCleanup(['artistan/workbench']); $this->benchhelper->composer('artistan/workbench', 'update'); $this->benchhelper->composer(); }