A simple program for watching a file/dir and running a command on changes
Go to file
SeanOMik 997cba98c9
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/manual/woodpecker Pipeline was successful Details
Add ci file
2023-10-05 22:01:54 -04:00
src Initial commit 2023-10-05 21:56:34 -04:00
.gitignore Initial commit 2023-10-05 21:56:34 -04:00
.woodpecker.yml Add ci file 2023-10-05 22:01:54 -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