docs: def main():
      """ Main function, mostly for passing arguments """
      _init_logging(config.get('config', 'anteater_log'))
      check_dir()
      arguments = docopt(__doc__, version=__version__)
  
      if arguments['<patchset>']:
          prepare_patchset(arguments['<project>'], arguments['<patchset>'],
                           arguments['--binaries'], arguments['--ips'], arguments['--urls'])
      elif arguments['<project_path>']:
          prepare_project(arguments['<project>'], arguments['<project_path>'],
                          arguments['--binaries'], arguments['--ips'], arguments['--urls'])