From 99b30436861ed2050410d1999c14ac1f99c67357 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Wed, 20 Apr 2022 11:05:27 +0200 Subject: [PATCH] Updated readme. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be55fb3..8458a75 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ # DistribuGit Tool for performing operations on many git repositories at once. It works by cloning a set of repositories, and applying an action to each repository. -The easiest way to use this toolset for automating git operations is to include it as a dependency in your Java project. You can get this project from [jitpack.io](https://jitpack.io/#andrewlalis/distribugit). +The simplest way to get started is to get the [latest release](https://github.com/andrewlalis/distribugit/releases) JAR file, and run it in the command line. +``` +java -jar distribugit-1.2.0.jar -t abc -s org-repo-prefix:concord/Java_ -a "ls" +``` +The above command simply gets all repositories from the `corcord` GitHub organization which begin with `"Java_"`, and executes the `ls` command in each repository. + +In addition to the CLI, you can include DistribuGit as a dependency in your Java project. You can get this project from [jitpack.io](https://jitpack.io/#andrewlalis/distribugit). Here's an example of how one might use DistribuGit to run `mvn test` on many repositories: