Lines Matching refs:args

62         def __init__(self, args, returncode, stdout, stderr):  argument
63 self.args = args
68 def run(*args, **kwargs): argument
80 proc = Popen(*args, **kwargs)
90 raise CalledProcessError(returncode, args, stdout)
91 return CompletedProcess(args, returncode, stdout, stderr)
247 def _main_json(args): argument
249 change_lists = _get_change_lists_from_args(args)
302 def _main_bash(args): argument
305 branch_name = _get_local_branch_name_from_args(args)
307 manifest_path = _get_manifest_xml_from_args(args)
310 change_lists = _get_change_lists_from_args(args)
319 change, branch_name, args.merge, args.pick))
369 def _main_pull(args): argument
372 branch_name = _get_local_branch_name_from_args(args)
374 manifest_path = _get_manifest_xml_from_args(args)
378 change_lists = _get_change_lists_from_args(args)
384 'merge_opt': args.merge,
385 'pick_opt': args.pick,
390 if args.parallel <= 1:
394 pool = multiprocessing.Pool(processes=args.parallel)
442 def _get_manifest_xml_from_args(args): argument
444 manifest_path = args.manifest
445 if not args.manifest:
450 def _get_change_lists_from_args(args): argument
452 url_opener = create_url_opener_from_args(args)
453 return query_change_lists(url_opener, args.gerrit, args.query, args.limits)
456 def _get_local_branch_name_from_args(args): argument
458 if not args.branch and not _confirm(
462 return args.branch
467 args = _parse_args()
468 if args.command == 'json':
469 _main_json(args)
470 elif args.command == 'bash':
471 _main_bash(args)
472 elif args.command == 'pull':
473 _main_pull(args)