emissary/cmd/agent/main.go

21 lines
431 B
Go
Raw Permalink Normal View History

2023-02-02 10:55:24 +01:00
package main
import (
"time"
"forge.cadoles.com/Cadoles/emissary/internal/command"
"forge.cadoles.com/Cadoles/emissary/internal/command/agent"
)
// nolint: gochecknoglobals
var (
GitRef = "unknown"
ProjectVersion = "unknown"
DefaultConfigPath = ""
BuildDate = time.Now().UTC().Format(time.RFC3339)
)
func main() {
command.Main(BuildDate, ProjectVersion, GitRef, DefaultConfigPath, agent.Root())
}