summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index 70d0f48..7cc3e90 100644
--- a/main.go
+++ b/main.go
@@ -23,6 +23,9 @@ import (
23//go:embed templates 23//go:embed templates
24var embeddedTemplates embed.FS 24var embeddedTemplates embed.FS
25 25
26//go:embed clients
27var embeddedClients embed.FS
28
26var appVersion string 29var appVersion string
27 30
28func main() { 31func main() {
@@ -32,7 +35,7 @@ func main() {
32 } 35 }
33 cli.AddFlags(rootCmd, &app.Config{}, app.DefaultConfig, "") 36 cli.AddFlags(rootCmd, &app.Config{}, app.DefaultConfig, "")
34 37
35 web.Register(rootCmd, embeddedTemplates, appVersion) 38 web.Register(rootCmd, embeddedTemplates, embeddedClients, appVersion)
36 client.Register(rootCmd) 39 client.Register(rootCmd)
37 register.Register(rootCmd) 40 register.Register(rootCmd)
38 41