Beispiel #1
0
 switch ($commands[1]) {
     case "list":
         $conductor->writeln('Applications hosted on this server:');
         $conductor->listApplications();
         break;
     case "new":
         $conductor->newApplication();
         break;
     case "destroy":
         $conductor->destroy();
         break;
     case "update":
         $conductor->updateApplication();
         break;
     case "rollback":
         $conductor->rollback();
         break;
     case "envars":
         $conductor->updateEnvVars();
         break;
     case "backup":
         $conductor->backup();
         break;
     case "restore":
         $conductor->restore();
         break;
     case "start":
         $conductor->startLaravelApplication();
         $conductor->endWithSuccess();
         break;
     case "stop":