code: public function handle()
      {
          $this->arcanesoftHeader();
  
          if ($this->confirm('Do you wish to publish the modules ?')) {
              $this->publishAllModules();
          }
  
          if ($this->confirm('Do you wish to reset the migrations ?')) {
              $this->refreshMigrations();
              $this->installModules();
          }
      }
docs: Execute the console command.