sync
This commit is contained in:
10
buzzer_tool/core/commands/mv.py
Normal file
10
buzzer_tool/core/commands/mv.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from core.connection import BuzzerError
|
||||
|
||||
|
||||
def execute(conn, source: str, target: str):
|
||||
try:
|
||||
conn.rename(source, target)
|
||||
print(f"✅ Umbenannt/Verschoben: '{source}' -> '{target}'")
|
||||
except BuzzerError as e:
|
||||
print(f"❌ Fehler beim Umbenennen/Verschieben: {e}")
|
||||
raise
|
||||
Reference in New Issue
Block a user