Files
buzzer/buzzer_tool/core/commands/mkdir.py
2026-03-02 00:25:40 +01:00

10 lines
341 B
Python

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