set "password" for cli

This commit is contained in:
Malte Schulze Hobeling 2023-02-02 15:21:14 +01:00
parent d2df46eaa6
commit 106b97e105

View File

@ -7,7 +7,7 @@ package com.bib.essensbestellungsverwaltung;
*/ */
public class SuperMain { public class SuperMain {
public static void main(String[] args) { public static void main(String[] args) {
if(args.length > 0){ if(args.length > 0 && args[0].equals("Here be dragons")){
ConsoleMain.main(args); ConsoleMain.main(args);
}else { }else {
StartViewApplication.main(args); StartViewApplication.main(args);