Moved the processing of each repository to one spot, rather than each command doing it