diff --git a/README.md b/README.md index 989df07..92b7fd2 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # 🍺 [Run] — `Run` is a command-line tool that executes commands in multiple directories -simultaneously. It leverages parallel processing and concurrent `I/O` to -efficiently run tasks across directories. +concurrently. [Run]: HTTPS://crates.io/crates/prun @@ -18,9 +17,9 @@ efficiently run tasks across directories.
find -iname .git -execdir ls \;
-
real    0m14.476s
-user    0m5.260s
-sys     0m7.526s
+
real    0m17.340s
+user    0m6.214s
+sys     0m9.138s
@@ -28,19 +27,19 @@ sys 0m7.526s
Run -P .git -C ls
-
real    0m7.194s
-user    0m0.030s
-sys     0m0.045s
+
real    0m8.480s
+user    0m0.046s
+sys     0m0.046s
-
find -iname .git -type d -execdir git status \;
+
find -iname .git -execdir git status \;
-
real    1m1.242s
-user    0m4.080s
-sys     0m6.354s
+
real    1m19.070s
+user    0m5.385s
+sys     0m7.357s
@@ -48,9 +47,9 @@ sys 0m6.354s
Run -P .git -C 'git status'
-
real    0m21.947s
-user    0m0.045s
-sys     0m0.031s
+
real    0m26.170s
+user    0m0.030s
+sys     0m0.046s
@@ -63,6 +62,26 @@ cargo install prun ## 🛠️ Usage +`Run` can be used with various options: + +```sh +🍺 Run — + +Usage: Run [OPTIONS] --Command + +Arguments: + 🔍 Pattern — [default: .] + +Options: + -F, --File 📝 File — + -P, --Parallel ⏩ Parallel — + -R, --Root 📂 Root — [default: .] + -E, --Exclude 🚫 Exclude — [default: "node_modules .git target dist vendor"] + -C, --Command 🖥️ Command — + -h, --help Print help + -V, --version Print version +``` + ```sh Run .git -C 'git fetch upstream' ``` diff --git a/Target/release/Inn.exe b/Target/release/Inn.exe index 2f82ee8..35c131c 100644 Binary files a/Target/release/Inn.exe and b/Target/release/Inn.exe differ diff --git a/Target/release/InnKeeper.exe b/Target/release/InnKeeper.exe index af81b80..a9f1e90 100644 Binary files a/Target/release/InnKeeper.exe and b/Target/release/InnKeeper.exe differ diff --git a/Target/release/PRun.exe b/Target/release/PRun.exe index a3e89fa..d976aa4 100644 Binary files a/Target/release/PRun.exe and b/Target/release/PRun.exe differ diff --git a/Target/release/Run.exe b/Target/release/Run.exe index f75cf11..ad7579e 100644 Binary files a/Target/release/Run.exe and b/Target/release/Run.exe differ