public function fire()
 {
     $scaffold = new Scaffold($this);
     $scaffold->createModels();
     $this->info('Please wait a few moments...');
     $this->call('clear-compiled');
     $this->call('optimize');
     $this->info('Done!');
 }
 public function fire()
 {
     $scaffold = new Scaffold($this);
     $this->info('Please wait while all your files are generated...');
     $scaffold->createModelsFromFile($this->argument('file'));
     $this->info('Finishing...');
     $this->call('clear-compiled');
     $this->call('optimize');
     $this->info('Done!');
 }
 public function fire()
 {
     $this->info('Updating...');
     $scaffold = new Scaffold($this);
     $scaffold->update();
     $this->info('Finishing...');
     $this->call('clear-compiled');
     $this->call('optimize');
     $this->info('Done!');
 }