In this example you can build binary from one file.
To get list of your registered hooks
go run . hook listTo get configs of your registered hooks
go run . hook configTo dump configs of your registered hooks in file
go run . hook dumpTo run registered hook with index '0' (you can see index of your hook in output of "hook list" command)
go run . hook run 0By default, all logs in hooks are suppressed and he waiting for files in default folders. To make them available, you must add env variable LOG_LEVEL and CREATE_FILES.
CREATE_FILES=true LOG_LEVEL=INFO go run . hook run 0go build -o example-module-hooks .