autogit
Version:
Define commands, using plugins, to execute across all your repositories.
25 lines (12 loc) • 298 B
text/typescript
/* IMPORT */
import Command from './command';
/* COMMANDS */
const Commands = {
get ( commandName, repositories ) {
return Promise.all ( repositories.map ( repository => {
return Command.get ( commandName, repository );
}));
}
};
/* EXPORT */
export default Commands;