Crates.io | subs |
lib.rs | subs |
version | 0.2.0 |
source | src |
created_at | 2019-08-15 20:40:37.899224 |
updated_at | 2019-10-04 07:23:53.272311 |
description | Run a command simultaneously in every subdirectory, and manage with a socket. |
homepage | |
repository | https://git.snoot.club/chee/subs |
max_upload_size | |
id | 157174 |
size | 46,913 |
Run a command simultaneously in every subdirectory, with optional process management.
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.
keep your subs happy