def main(): args = __parse_params_to_settings() if args.version: # This gets handled by setup.py, we just need to not run the main routine print(setup.git_version()) exit(0) __update_settings_from_args(args) proceed = __query_yes_no("Start tagcompare against {} for cid={}, pids={}?" .format(settings.DEFAULT.domain, settings.DEFAULT.campaigns, settings.DEFAULT.publishers)) if not proceed: print("Stopping tagcompare on user input") exit(0) jobname = capture.main() if not args.capture_only: compare.main(build=jobname)
def main(): jobname = capture.main() compare.main(jobname=jobname)