Added 'bof' module for executing object files and fixed handling of optional arguments.

This commit is contained in:
Jakob Friedl
2025-08-29 15:58:26 +02:00
parent 352b8fd8d1
commit 4ceb756cfd
8 changed files with 138 additions and 85 deletions

View File

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