chore: adapts comments

This commit is contained in:
Dennis Schoepf 2025-08-19 21:17:54 +02:00
parent 1c4a83981e
commit ee313ed28c
2 changed files with 3 additions and 11 deletions

View file

@ -39,14 +39,4 @@ to quickly create a Cobra application.`,
func init() {
rootCmd.AddCommand(todayCmd)
// Here you will define your flags and configuration settings.
// Cobra supports Persistent Flags which will work for this command
// and all subcommands, e.g.:
// todayCmd.PersistentFlags().String("foo", "", "A help for foo")
// Cobra supports local flags which will only run when this command
// is called directly, e.g.:
// todayCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}

View file

@ -19,8 +19,10 @@ func Add(feedUrl string) error {
return err
}
fmt.Printf("feed: %+v", feed)
// TODO: I have everything here (feed), might as well store it right away
// Add an article table that stores the feed data that is parsed here
// So, implement a loop to do that here
f := database.Feed{
Name: feed.Title,