This commit is contained in:
2026-02-27 11:59:07 +01:00
parent c8053925af
commit 4227417c5e
5 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# core/commands/mkdir.py
from core.connection import BuzzerError
def execute(conn, path: str):
"""Erstellt ein Verzeichnis auf dem Controller."""
try:
conn.send_command(f"mkdir {path}")
print(f"📁 Verzeichnis '{path}' erfolgreich erstellt.")
except BuzzerError as e:
print(f"❌ Fehler beim Erstellen von '{path}': {e}")