A simple program for watching a file/dir and running a command on changes
Go to file
SeanOMik cd179845ec
Initial commit
2023-10-05 21:56:34 -04:00
src Initial commit 2023-10-05 21:56:34 -04:00
.gitignore Initial commit 2023-10-05 21:56:34 -04:00
Cargo.lock Initial commit 2023-10-05 21:56:34 -04:00
Cargo.toml Initial commit 2023-10-05 21:56:34 -04:00
LICENSE Initial commit 2023-10-05 21:56:34 -04:00
README.md Initial commit 2023-10-05 21:56:34 -04:00

README.md

What's this?

Just a simple little program I wrote in around 30 minutes that will watch for file system changes of a file or directory and execute a command given to it. I made this for auto rendering pandoc files to pdfs.

Usage

Usage: inotify-run <PATH> <COMMAND>

Arguments:
  <PATH>     The path of the file to watch
  <COMMAND>  The command/executable to run when a change is noticed

Options:
  -h, --help     Print help
  -V, --version  Print version

Autogenerated from clap