22 lines
502 B
Go
22 lines
502 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"
|
|
)
|
|
|
|
// 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())
|
|
}
|