#command #run-command #parallel #terminal #times #multiple

app rpar

并行运行终端命令多次

1 个不稳定版本

0.1.0 2024年5月24日

#438并发

MIT/Apache

5KB
80

命令用法

rpar [RPAR ARGUMENTS] -- COMMAND [COMMAND ARGUMENTS]

用法示例

    ./rpar -t 10 -s -- ls -l

    cargo run -- -t 10 -s -- ls -l
    ./rpar -t 1 -u -- curl www.google.com

rpar 参数

arg  --times [TIMES] /  -t     - to execute command [TIMES] times
                                 Default: command is executed 1 time

arg  --silent        /  -s     - to suppress output.
                                 Default: output is not suppressed

arg  --unparallel    /  -u     - to execute command in sequential way.
                                 Default: command is executed in a parallel way

依赖项

~1.5MB
~25K SLoC