grove

command module
v0.0.0-...-9f7f039 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 7 Imported by: 0

README

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...]
 -a, --args <arguments>  Arguments to use for name option (default: -c)
 -d, --debounce <number> Make the program wait <number> seconds between commands
 -h, --help              Get help and usage for grove
 -n, --name              Command to use for execution (default: bash)

Example

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL