6 releases
0.2.0 | Oct 6, 2024 |
---|---|
0.1.5 | Oct 1, 2024 |
0.1.4 | Sep 30, 2024 |
#1362 in Command line utilities
425KB
982 lines
parallely
parallely is a command line process parallelization executor.
preview
install
cargo install parallely
usage
parallely --help
parallely is a command line process parallelization executor.
Usage: parallely [OPTIONS] <COMMANDS>...
Arguments:
<COMMANDS>... The commands to run in parallel. e.g. `parallely "echo hello" "echo world"`
Options:
--eoc Exit on all sub-processes complete
-d, --debug Write log into $(PWD)/logs
-h, --help Print help
-V, --version Print version
parallely "echo hello" "echo world"
no-exit on all sub-processes complete
parallely "echo hello" "echo world" --eoc
exit on all sub-processes complete
parallely "echo hello" "echo world" --debug
write log into $(PWD)/logs
limitation
- parallely will not process the standard input for a single command for you, but only forward the stdout/stderr of the child process to the output block.
- parallely can handle standard ansi-color output, but cannot support complete tty commands, such as clear and move cursor. Therefore, you cannot get the best experience for processes such as top and vim. Please try tmux/screen.
- parallely is more suitable for non-interactive pure output scenarios.
Dependencies
~21–36MB
~528K SLoC