#run-command #directory #directory-tree #cargo #cmd #for-each

app feach

This tool can foreach dirs and run command

1 unstable release

0.1.1 Apr 7, 2024

#811 in Filesystem

MIT license

8KB
62 lines

📁 FEach

This tool can foreach dirs and run command.

Build:
cargo build --release

Usage:

feach> .\target\release\feach.exe -h
Usage: feach.exe [OPTIONS] --cmd <CMD>

Options:
  -d, --dir <DIR>        [default: ./]
  -c, --cmd <CMD>
  -l, --layers <LAYERS>  [default: 1]
  -a, --async
  -h, --help             Print help
  -V, --version          Print version

E.g:
feach -c "git pull"
feach -c "cmd /c tree"

Dependencies

~4–12MB
~131K SLoC