Commando
Commando copied to clipboard
Loaders and Loadables
Currently, the registry handles fancy loading, unloading, and reloading of commands. In order to make this logic reusable for things other than commands, this logic will need to be abstracted out into a Loader/Loadable system.
- Would a Loader just have load, unload, and reload methods?
- Would a Loadable just have unload and reload methods?
- Would there be checks to make sure that a Loadable can only be loaded/unloaded/reloaded by a Loader that is compatible with it using a property on the Loader like an array of classes that can be loaded by the Loader?