Lines Matching refs:args
45 args = _parse_args()
47 args.cmd_fn(Maintainers(args.maintainers), args)
148 args = parser.parse_args()
149 if not hasattr(args, "cmd_fn"):
153 return args
254 def _path_cmd(self, args): argument
257 for path in args.paths:
263 for path in args.paths:
275 def _commits_cmd(self, args): argument
278 commits = args.commits or ("HEAD~..",)
282 def _areas_cmd(self, args): argument
285 if args.maintainer:
286 if args.maintainer in area.maintainers:
291 def _count_cmd(self, args): argument
294 …if not (args.count_areas or args.count_collaborators or args.count_maintainers or args.count_unmai…
296 args.count_areas = True
297 args.count_collaborators = True
298 args.count_maintainers = True
299 args.count_unmaintained = True
312 if args.count_areas:
314 if args.count_maintainers:
316 if args.count_collaborators:
318 if args.count_unmaintained:
321 def _list_cmd(self, args): argument
324 if args.area is None:
333 area = self.areas.get(args.area)
336 .format(args.area, self.filename))
342 def _orphaned_cmd(self, args): argument
345 if args.path is not None and not os.path.exists(args.path):
346 _serr("'{}': no such file or directory".format(args.path))
348 for path in _ls_files(args.path):
559 def _git(*args): argument
564 git_cmd = ("git",) + args