code: private function publishAllModules()
      {
          $this->frame('Publishing all the modules files');
          $this->line('');
  
          $this->call('foundation:publish');
          $this->call('optimize');
  
          $this->comment('All files are published !');
          $this->line('');
      }
docs: Publish all modules: configs, migrations, assets ...