Beispiel #1
0
            $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":
            $conductor->stopLaravelApplication();
            $conductor->endWithSuccess();
            break;
        case "services":
            $conductor->serviceControl($commands[2]);
            $conductor->endWithSuccess();
            break;
        default:
            displayHelp($conductor);
    }
} else {
    displayHelp($conductor);