code: public function handle()
      {
          $this->call('vendor:publish', ['--provider' => FoundationServiceProvider::class]);
  
          foreach ($this->config()->get('arcanesoft.foundation.modules.commands.publish', []) as $command) {
              $this->call($command);
          }
      }
docs: Execute the console command.