25 lines
629 B
Go
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())
|
|
}
|