# README
exec-onchanges
exec-onchanges: CLI tool executing command on changing files detected, Built in Go.
Installation
go install
command is available.
$ go install github.com/streamwest-1629/exec-onchanges/cmd/exec-onchanges@latest
Please wait for a while for distribution of executable binaries.
Getting started
$ exec-onchanges --help
exec-onchanges: Execute command on file changed and created
Usage: exec-onchanges (Options...) -- (Command and arguments...)
Example: exec-onchanges -i=**.go -e=.git -- gofmt -w '{{FILEPATH}}'
Options:
-h, --help: Display help (this is this)
-f, --file=path/to/file: Filepath to configuration file (YAML)
-i, --include=path/rule: Monitoring path rule (support '*', '**' wildcards)
-e, --exclude=path/rule: Excluded Monitoring path rule (support '*', '**' wildcards)