Implemented move and copy command. Needs to be reworked to work without `-f' and '-t' flags but with spaces.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user