Added birthdays weekly and birthdays today commands.

This commit is contained in:
Benjamin A. Shelton 2026-10-23 21:29:01 -06:00
commit ab0c96b33f
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -43,6 +43,36 @@ func main() {
},
},
Commands: []*cli.Command{
{
Name: "birthdays",
Description: "Birthday management",
Commands: []*cli.Command{
{
Name: "weekly",
Description: "Lists the weekly birthdays for this week.",
Action: cmdHost.Birthdays().ListWeeklyBirthdays,
Flags: []cli.Flag{
&cli.Int64Flag{
Name: "chatid",
Aliases: []string{"c"},
Usage: "Specifies the chat ID. Required.",
},
},
},
{
Name: "today",
Description: "Lists birthdays for today.",
Action: cmdHost.Birthdays().ListTodaysBirthdays,
Flags: []cli.Flag{
&cli.Int64Flag{
Name: "chatid",
Aliases: []string{"c"},
Usage: "Specifies the chat ID. Required.",
},
},
},
},
},
{
Name: "chats",
Description: "Chats management",