Ejemplo n.º 1
0
 public function fire()
 {
     $this->comment('Updating documentation...');
     $this->git->setRepository(public_path() . '/Documentation');
     $this->git->pull('origin', 'master');
     $this->generator->generate();
     $this->call('cache:clear');
     $this->info('Documentation updated!');
 }
Ejemplo n.º 2
0
 public function fire()
 {
     $this->comment('Writing routes...');
     $this->generator->generate();
     $this->info('Routes written');
 }