Example #1
0
 /**
  * Execute the action.
  *
  * @return void
  */
 public function execute()
 {
     $this->task('Deleting Liferaft Repository...', function () {
         try {
             $this->github->deleteRepository($this->github->getUsername(), 'liferaft');
         } catch (\Exception $e) {
             $this->failAndKill('Unable to delete repository. Does your GitHub token have enough permissions?');
         }
         @unlink(getcwd() . '/liferaft.md');
     });
     $this->info('Done! This directory may be deleted.');
 }