Shubham Banthia c7df722c8a adding server side hook for update (#94)
* adding server side hook for update

* addressing comments

* update comments for command
2022-11-29 19:51:08 -08:00

12 lines
249 B
Go

package hooks
import (
"github.com/harness/gitness/client"
"gopkg.in/alecthomas/kingpin.v2"
)
func Register(app *kingpin.Application, client client.Client) {
cmd := app.Command("hooks", "manage git server hooks")
registerUpdate(cmd, client)
}