Implemented 'screenshot' command.

This commit is contained in:
Jakob Friedl
2025-09-03 19:38:22 +02:00
parent 653dfac4b4
commit d0545ffd16
8 changed files with 189 additions and 12 deletions

View File

@@ -8,7 +8,8 @@ import
filesystem,
filetransfer,
environment,
bof
bof,
screenshot
type
ModuleManager* = object
@@ -30,6 +31,7 @@ proc loadModules*() =
registerCommands(filetransfer.commands)
registerCommands(environment.commands)
registerCommands(bof.commands)
registerCommands(screenshot.commands)
proc getCommandByType*(cmdType: CommandType): Command =
return manager.commandsByType[cmdType]