Added 'bof' module for executing object files and fixed handling of optional arguments.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user