diff options
| author | DemonKingSwarn <rockingswarn@gmail.com> | 2025-08-21 12:51:51 +0530 |
|---|---|---|
| committer | DemonKingSwarn <rockingswarn@gmail.com> | 2025-08-21 12:51:51 +0530 |
| commit | e164b77a106f3c2d8d262898a75f3034b6718ff4 (patch) | |
| tree | 824821e8eca6d18fbd8f6a7424a8571b55193e39 /Program.cs | |
| parent | 2f56d92438869c2465ef2d619f0c470c2cf1a335 (diff) | |
| download | hypr-wellbeing-e164b77a106f3c2d8d262898a75f3034b6718ff4.zip hypr-wellbeing-e164b77a106f3c2d8d262898a75f3034b6718ff4.tar.gz | |
chore: weekly data added
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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(); + } } } |
