()
| 23 | } |
| 24 | |
| 25 | func 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 | |
| 32 | func main() { |
| 33 | if err := rootCmd.Execute(); err != nil { |
nothing calls this directly
no test coverage detected