From a00bf9530296cc6fe97ec980278c2e6d2ad3dd3c Mon Sep 17 00:00:00 2001 From: Solaris-star <820622658@qq.com> Date: Tue, 21 Jul 2026 18:25:30 +0800 Subject: [PATCH] docs: add go install command for CLI Installation only listed go get ./... . Add an explicit go install for cmd/watcher for users who only want the tool. Fixes #128 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1c822e2..1d68bf8 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,12 @@ Events contain the `os.FileInfo` of the file or directory that the event is base go get -u github.com/radovskyb/watcher/... ``` +Install the CLI tool only: + +```shell +go install github.com/radovskyb/watcher/cmd/watcher@latest +``` + # Features - Customizable polling interval.