diff --git a/README.md b/README.md index f18ca8f..4616e0a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Dies erzeugt ein neues GIT Repository auf ein Asustor NAS (Only GIT installed). ## Version - V 1.1 + V 1.2 ## Installation @@ -12,6 +12,12 @@ Dies erzeugt ein neues GIT Repository auf ein Asustor NAS (Only GIT installed). ## Changelog +### V 1.1 **(WIP)** +- `main.py` + - Added Remote Adresse zu ändern (Local & Public) + - Added Multiuser + - Added Port ändern + ### V 1.1 - `README.md` erstellt - `main.py` -> Tippfehler korrigiert diff --git a/main.py b/main.py index 7b840dc..6088692 100644 --- a/main.py +++ b/main.py @@ -1,9 +1,13 @@ import subprocess -project_name = input("Geben Sie den Projektnamen ein: ") -hostname = "192.168.2.106" -username = "yannick" -port = "22" # Anpassen, falls ein anderer Port verwendet wird +username = input("Hallo, wie lautet ihr anmelde Namen? (achte auf Groß und Kleinschrift): ") +hostname = input(f"Super, {username}. Jetzt bräuchte ich noch die Remote-adresse: ") +port= "22" +port = input(f"Standartport {port} nutzen? (y/j/PORT-Nr) ") +if port.lower() in ["ja","j","y"]: + port= "22" + +project_name = input("Perfekt, gibt mir bitte noch den Projektnamen: ") # Befehle für die SSH-Verbindung commands = [