snootforge

chee/subs

Run a command simultaneously in every subdirectory, and manage with a socket.

subs

Run a command simultaneously in every subdirectory, with optional process management.

  1. Usage: target/debug/subs [options] PROGRAM [root_dir]
  2. Options:
  3. -t, --type TYPE set the management type [choices: watch, socket, none]
  4. [default: none]
  5. -s, --socket NAME set the socket path. sending the socket a message like
  6. "restart xxx" will restart the process running in the
  7. directory "xxx". [default: ./subsocket]
  8. -i, --watch-ignore PATTERN
  9. pattern to ignore when watching (matches whole path)
  10. -h, --help get help
  11. PROGRAM will be run in parallel in every subdirectory (SUB), as SUB's owner.
  12. A placeholder "{}" is available to PROGRAM, it will be replaced with SUB.

keep your subs happy