code: def main():
      
      args = app.parse_args(sys.argv[1:])
      params = args.__dict__
      params.update(**load_config(args.config_file))
  
      if params['debug']:
          logging.basicConfig(level=logging.DEBUG)
      else:
          logging.basicConfig()
  
      try:
          imhotep = app.gen_imhotep(**params)
      except NoGithubCredentials:
          log.error("You must specify a GitHub username or password.")
          return False
      except NoCommitInfo:
          log.error("You must specify a commit or PR number")
          return False
      except UnknownTools as e:
          log.error("Didn't find any of the specified linters.")
          log.error("Known linters: %s", ', '.join(e.known))
          return False
  
      imhotep.invoke()
docs: Main entrypoint for the command-line app.