Implemented move and copy command. Needs to be reworked to work without `-f' and '-t' flags but with spaces.

This commit is contained in:
Jakob Friedl
2025-07-09 15:13:37 +02:00
parent bb56ed42f2
commit 2d2c94ed38
5 changed files with 91 additions and 3 deletions

View File

@@ -13,7 +13,9 @@ proc handleTask*(task: Task, config: AgentConfig): TaskResult =
SetWorkingDirectory: taskCd,
ListDirectory: taskDir,
RemoveFile: taskRm,
RemoveDirectory: taskRmdir
RemoveDirectory: taskRmdir,
Move: taskMove,
Copy: taskCopy
}.toTable
# Handle task command