Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kasaikou/exec-onchanges

exec-onchanges: CLI tool executing command on changing files detected, Built in Go.
https://github.com/kasaikou/exec-onchanges

Last synced: 5 days ago
JSON representation

exec-onchanges: CLI tool executing command on changing files detected, Built in Go.

Awesome Lists containing this project

README

        

# exec-onchanges
exec-onchanges: CLI tool executing command on changing files detected, Built in Go.

## Installation

`go install` command is available.

```sh
$ go install github.com/streamwest-1629/exec-onchanges/cmd/exec-onchanges@latest
```

Please wait for a while for distribution of executable binaries.

## Getting started

```sh
$ 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)
```