code: def retrieve_commands(self, module):
          
          commands = []
  
          for name, obj in inspect.getmembers(module):
              if name != 'Command' and 'Command' in name:
                  if name != 'GlimCommand':
                      cobject = getattr(module, name)
                      commands.append(cobject)
  
          return commands
docs: Function smartly imports Command type classes given module
  
          Args
          ----
            module (module):
              The module which Command classes will be extracted from
  
          Returns
          -------
            commands (list):
              A list of Command instances
  
          Note:
            This function will not register any command class
            named "Command" or "GlimCommand".
  
            When extending Command class, be sure to have "Command"
            string on your custom commands.