#NEWLINE# def do( args ) : #NEWLINE# #INDENT# 'Main entry point' #NEWLINE# if ( not args . git_only ) : #NEWLINE# #INDENT# ui . warning ( 'qisrc foreach with --all is deprecated, use\n' , 'qisys foreach instead' ) #NEWLINE# #UNINDENT# if args . git_only : #NEWLINE# #INDENT# git_worktree = qisrc . parsers . get_git_worktree ( args ) #NEWLINE# projects = git_worktree . get_git_projects ( groups = args . groups ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# worktree = qisys . parsers . get_worktree ( args ) #NEWLINE# projects = worktree . projects #NEWLINE# #UNINDENT# qisys . foreach ( projects , args . command , ignore_errors = git_worktree . ignore_errors )