diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -23,6 +23,9 @@ import ( | |||
23 | //go:embed templates | 23 | //go:embed templates |
24 | var embeddedTemplates embed.FS | 24 | var embeddedTemplates embed.FS |
25 | 25 | ||
26 | //go:embed clients | ||
27 | var embeddedClients embed.FS | ||
28 | |||
26 | var appVersion string | 29 | var appVersion string |
27 | 30 | ||
28 | func main() { | 31 | func 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 | ||