Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kasaikou/exec-onchanges
- Owner: kasaikou
- License: mit
- Created: 2022-12-08T05:33:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T02:20:16.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T09:55:23.531Z (11 days ago)
- Language: Go
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 createdUsage: 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)
```