docs: def execute_command(cmd, **kwargs):
      """
      execute a console command
      """
      cmd_dict = {
          c: 'flask_philo.commands_flask_philo.' + c for c
              in dir(commands_flask_philo) if not c.startswith('_') and c != 'os'  # noqa
      }
  
      # loading specific app commands
      try:
          import console_commands
          for cm in console_commands.__all__:
              if not cm.startswith('_'):
                  cmd_dict[cm] = 'console_commands.' + cm
      except Exception:
          pass
  
      if cmd not in cmd_dict:
          raise ConfigurationError('command {} does not exists'.format(cmd))
      cmd_module = importlib.import_module(cmd_dict[cmd])
      kwargs['app'] = app
      cmd_module.run(**kwargs)