feat: add version command

This commit is contained in:
Hintay 2025-02-03 21:56:08 +09:00
parent 4239a89d66
commit f213bdf7d6
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D
5 changed files with 100 additions and 0 deletions

View file

@ -20,6 +20,8 @@ import (
cSettings "github.com/uozi-tech/cosy/settings"
)
//go:generate go run cmd/version/generate.go
func Program(confPath string) func(state overseer.State) {
return func(state overseer.State) {
defer logger.Sync()