2023-02-02 10:55:24 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command"
|
2024-02-27 14:14:30 +01:00
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/client"
|
2023-02-02 10:55:24 +01:00
|
|
|
"forge.cadoles.com/Cadoles/emissary/internal/command/server"
|
|
|
|
|
2023-03-24 23:17:55 +01:00
|
|
|
_ "forge.cadoles.com/Cadoles/emissary/internal/imports/format"
|
|
|
|
_ "forge.cadoles.com/Cadoles/emissary/internal/imports/spec"
|
|
|
|
_ "forge.cadoles.com/Cadoles/emissary/internal/imports/sql"
|
2023-02-02 10:55:24 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
// nolint: gochecknoglobals
|
|
|
|
var (
|
|
|
|
GitRef = "unknown"
|
|
|
|
ProjectVersion = "unknown"
|
|
|
|
DefaultConfigPath = ""
|
|
|
|
BuildDate = time.Now().UTC().Format(time.RFC3339)
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2024-02-27 14:14:30 +01:00
|
|
|
command.Main(BuildDate, ProjectVersion, GitRef, DefaultConfigPath, server.Root(), client.Root())
|
2023-02-02 10:55:24 +01:00
|
|
|
}
|