- refactored some of the code in the App class and created a new Tcl Command named Help
This commit is contained in:
@@ -93,6 +93,7 @@ def register_all_commands(app, commands):
|
||||
tcl_modules = {k: v for k, v in list(sys.modules.items()) if k.startswith('tclCommands.TclCommand')}
|
||||
|
||||
for key, mod in list(tcl_modules.items()):
|
||||
print(key)
|
||||
if key != 'tclCommands.TclCommand':
|
||||
class_name = key.split('.')[1]
|
||||
class_type = getattr(mod, class_name)
|
||||
|
||||
Reference in New Issue
Block a user