MCPcopy
hub / github.com/EverythingSuckz/TG-FileStreamBot / init

Function init

cmd/fsb/main.go:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func init() {
26 config.SetFlagsFromConfig(runCmd)
27 rootCmd.AddCommand(runCmd)
28 rootCmd.AddCommand(sessionCmd)
29 rootCmd.SetVersionTemplate(fmt.Sprintf(`Telegram File Stream Bot version %s`, versionString))
30}
31
32func main() {
33 if err := rootCmd.Execute(); err != nil {

Callers

nothing calls this directly

Calls 1

SetFlagsFromConfigFunction · 0.92

Tested by

no test coverage detected