Implemented 'pwd' command to retrieve working directory.

This commit is contained in:
Jakob Friedl
2025-06-20 16:44:39 +02:00
parent b25d09e282
commit 6a92a19b9e
11 changed files with 72 additions and 8 deletions

View File

@@ -23,6 +23,11 @@ proc handleTask*(task: Task, config: AgentConfig): TaskResult =
# Return result
return taskResult
of GetWorkingDirectory:
let taskResult = taskPwd(task)
echo taskResult.data
return taskResult
else:
echo "Not implemented"
return nil