emissary/cmd/agent/main.go
William Petit d2bcdd2999
Some checks reported errors
arcad/emissary/pipeline/head Something is wrong with the build of this commit
feat(storage,agent): add label attribute
2023-04-01 13:28:18 +02:00

25 lines
629 B
Go

package main
import (
"time"
"forge.cadoles.com/Cadoles/emissary/internal/command"
"forge.cadoles.com/Cadoles/emissary/internal/command/agent"
"forge.cadoles.com/Cadoles/emissary/internal/command/api"
_ "forge.cadoles.com/Cadoles/emissary/internal/imports/format"
_ "forge.cadoles.com/Cadoles/emissary/internal/imports/spec"
)
// 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(), api.Root())
}