Skip to content

Grove waits for a file to be written to then runs a user specified command

License

Notifications You must be signed in to change notification settings

notwithering/grove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grove MIT License

Grove waits for a file to be written to then runs a user specified command

Installing

go install github.com/notwithering/grove@latest

Usage

$ grove --help
Usage: grove [options...] <file> [command...]
  -d, --debounce <number> Make the program wait <number> seconds between commands
  -h, --help              Get help and usage for grove

Example

$ grove -d 1 test.txt "echo hello" &
$ echo "yoo" > test.txt
hello

About

Grove waits for a file to be written to then runs a user specified command

Resources

License

Stars

Watchers

Forks

Languages