8个版本
0.2.0 | 2019年10月4日 |
---|---|
0.1.6 | 2019年8月19日 |
#2 in #simultaneously
15KB
335 代码行
subs
在所有子目录中同时运行命令,可选进程管理。
Usage: target/debug/subs [options] PROGRAM [root_dir]
Options:
-t, --type TYPE set the management type [choices: watch, socket, none]
[default: none]
-s, --socket NAME set the socket path. sending the socket a message like
"restart xxx" will restart the process running in the
directory "xxx". [default: ./subsocket]
-i, --watch-ignore PATTERN
pattern to ignore when watching (matches whole path)
-h, --help get help
PROGRAM will be run in parallel in every subdirectory (SUB), as SUB's owner.
A placeholder "{}" is available to PROGRAM, it will be replaced with SUB.
让你的subs开心
依赖
~3–12MB
~109K SLoC