From e164b77a106f3c2d8d262898a75f3034b6718ff4 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Thu, 21 Aug 2025 12:51:51 +0530 Subject: chore: weekly data added --- Program.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Program.cs') diff --git a/Program.cs b/Program.cs index d57fe2c..8e4afd1 100644 --- a/Program.cs +++ b/Program.cs @@ -1,6 +1,7 @@ using System.IO; using System.Runtime.InteropServices; using hyprwatch.Logger; +using hyprwatch.Report.Weekly; class Program { @@ -11,7 +12,7 @@ class Program string dailyDataDirectory = Path.Combine(hyprwatchDirectory, "daily_data"); Directory.CreateDirectory(dailyDataDirectory); - if (args.Length == 0 || args[0] != "-d" && args[0] != "--show") + if (args.Length == 0 || args[0] != "-d" && args[0] != "--show" && args[0] != "--weekly") { Console.WriteLine("Usage: -d || --show"); return; @@ -75,6 +76,10 @@ class Program } } + if(args[0] == "--weekly") + { + WeeklyReport.DisplayWeeklyReport(); + } } } -- cgit v1.1