subs

Crates.iosubs
lib.rssubs
version0.2.0
sourcesrc
created_at2019-08-15 20:40:37.899224
updated_at2019-10-04 07:23:53.272311
descriptionRun a command simultaneously in every subdirectory, and manage with a socket.
homepage
repositoryhttps://git.snoot.club/chee/subs
max_upload_size
id157174
size46,913
chee (chee)

documentation

README

subs

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

Commit count: 0

cargo fmt